combox control convert to tab control
Posted: Thu Dec 01, 2005 9:19 pm
on a dialog I have a combobox
I want insert on the botton of dialog a Tab with the same operation but when i try it make error
i try with
How can I make it to click on each tabs and index the listbox and focus on the order i selected ?
Thanks in advance
Code: Select all
REDEFINE COMBOBOX oCbx VAR cVar ITEMS aIdx ID 210 OF oDlg;
ON CHANGE Sel_Index(oCbx)
...
STAT FUNC Sel_Index(oCbx)
(oDCli)->(OrdSetFocus(oCbx:nAt))
oBCli:Refresh()
oBCli:SetFocus()
oBCli:aHeaders[5]:=IF(oCbx:nAt=5,"Vendita Netta","Saldo Attuale")
RETURN (NIL)
I want insert on the botton of dialog a Tab with the same operation but when i try it make error
i try with
Code: Select all
@ ( oDlg:nHeight / 2 ) - 11, nBrwSplit+2 TABS oCbx ;
SIZE oWnd:nWidth() - 80, 12 ;
PIXEL ;
OF oDlg ;
ITEMS aIdx ;
COLOR CLR_BLACK, GetSysColor(15) - rgb( 30, 30, 30 ); // 13362404 ;
action Sel_Index(oCbx
How can I make it to click on each tabs and index the listbox and focus on the order i selected ?
Thanks in advance