I can autoadjust grid columns widths with " Control and + " from keyboard (Tip posted here)
and now i need restore at the values set in control definition... It is possible without redefine control ? How ?
This grid is in Main form... I try code below but don't work:
Code: Select all
Function Modulo_Reportes_Button_Widths_Action
Local aWidths := {70,70,70,70,200,90,90,70,70,90,90,90,90,200,40,40,40} // <- original widths
SetProperty ("Main", "Grid_Ventas", "Widths", aWidths)
// Main.Grid_Ventas.Widths := aWidths
// I try with above oop syntax but when compile say: Error E0030 Syntax error "syntax error at '.' "
Return Nil