Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== AUTOSIZEHEIGHT property ====== ==== Applies To ==== All controls. ==== Description ==== Returns or sets the controls autosize height status. If true, the control is autosized to the form’s height. If false, the control is not autosized to the form’s height. ==== Usage ==== autosizeState = Get_Property(objectname,”AUTOSIZEHEIGHT”) existingState = Set_Property(objectname,”AUTOSIZEHEIGHT”,status) ==== Remarks ==== Values passed in Set_Property(): ^Value^Description^ |Status|Boolean true (1) or false (0)| ==== Returns ==== Values returned by Get_Property and Set_Property ^Value^Description^ |autosizeState|the Boolean status of the control’s autosize height property.| |existingState|the Boolean status of the control’s autosize height property, when Set_Property was run.| ==== See Also ==== [[autosizewidth|AUTOSIZEWIDTH property]] ==== Example ==== <code> Declare function Get_Property, Set_Property /* retrieve the AUTOSIZEHEIGHT property of the COMMENTS control and if true set to false and vice versa. autosizeState = Get_Property(@window:’.COMMENTS’,’AUTOSIZEHEIGHT’) if autosizeState then newState = 0 end else newState = 1 end existingState = Set_Property(@window:’.COMMENTS’,’AUTOSIZEHEIGHT’,newState) </code> guides/programming/programmers_reference_manual/autosizeheight.txt Last modified: 2024/06/19 20:20by 127.0.0.1