When I insert it the combo is too small and I cannot see the images
any idea ?
- Code: Select all Expand view
- #Include "FiveWin.Ch"
Function Test
Local oDlg,oBar
Local oItems
Local aBitmaps := { "OMBRELLONE","PASSERELLA","HAWAYANO","CABINA", "CANCELLA" }
Local aItems := { "Normale","Passerella","Hawayano","Cabina", "Cancella" }
nItem := 1
DEFINE DIALOG oDlg
ACTIVATE DIALOG oDlg ON INIT CREA_BAR(oDlg ,aBitmaps,oItems,aItems,nItem )
RETURN NIL
FUNCTION CREA_BAR(oDlg ,aBitmaps,oItems,aItems,nItem )
lOCAL oBar
DEFINE BUTTONBAR oBar OF oDlg SIZE 60, 60 2007
@ 2, 2 COMBOBOX oItems VAR nItem ITEMS aItems BITMAPS aBitmaps of oBar SIZE 100, 100
RETURN NIL