Aunque ya esta resuelto el tema, te agradezco la respuesta, busque en el foro con oBrw:aCols[oBrw:SelectedCol():nCreationOrder] pero no mostraba resultados.
... upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
... upon. Still if you want to assign action to single click, assign the action to oBrw:bRClicked and you can ascertain the active column with oBrw:SelectedCol()
HI Enrico. oCol: = oBrw: SelectedCol () It seem oCol: nCreationOrder () returns the correct position of a column only when the columns keep their original order of creation, but not when they are swapped or hidden.
I have checked the class and could not find the method or function you want. Regards
Your observation is not correct. The SelectedCol() and nColSel are updated even when the column is changed by arrow keys. But by default, your bChange is called when row is changed but not when column only is changed. If you set oBrw:lColChangeNotify ...
... A selected column 2 still shows column 4 ( only if changing the column inside the sane row ) :!: :( To get the col-pos I'm using : nColPos := oBrw:SelectedCol():nCreationOrder http://www.pflegeplus.com/IMAGES/Autofocus3.jpg http://www.pflegeplus.com/IMAGES/Autofocus1.jpg ...
... := .T. tested to move to the column of browser 2 the same column like browser 1 but doesn't work WITH OBJECT oBrw2 :bChange := { || nCPos := oBrw2:SelectedCol():nCreationOrder, ; oBrw3:SelectCol( nCPos, .T. ), oBrw3:Refresh() } // move to column-pos of browser 1 doesn*t work END regards Uwe :?: