I found an error using a combox with bitmaps on a folder. The height of the combo is not correctly calculated, if you use it on a folder. Inside a dialog it´s ok. See the picture.
- Code: Select all Expand view
- // test combobox with bitmaps on a folder
#include "FiveWin.ch"
Function test()
Local oDlg,oFld
Local aBitMaps:= {"one.bmp","two.bmp","one.bmp","two.bmp","one.bmp"}
Local cCombo:= 1, oCombo
Local aItems := {"One","two","tree","four","five"}
DEFINE DIALOG oDlg size 400,400
@ 2,1 FOLDER oFld PROMPT "Power " ,"Of","Fivewin" OF oDlg SIZE 100,100
@ 2,1 COMBOBOX oCombo var cCombo ITEMS aItems OF oFld:aDialogs[1] SIZE 80,100 BITMAPS aBitMaps
@ 1,10 COMBOBOX oCombo var cCombo ITEMS aItems OF oDlg SIZE 80,60 BITMAPS aBitMaps
ACTIVATE DIALOG oDlg
RETURN NIL
Any suggestions ?