Help about Combobox, bitmap, resource
Posted: Sun Feb 14, 2021 4:40 pm
Hi,
I have command like that.
This command is ok. no problem.
I convert bmp files to resource.
This command does not run properly. Every line is white.
Is it normal?
I have command like that.
Code: Select all
@ 198,55 COMBOBOX oRenkKodu Var xBG_Renk Of oDlg Pixel;
ITEMS {" Beyaz", " Mavi", " Rosso", " Sarı", " Yeşil", " Kırmızı"} SIZE 100,12 ;
BITMAPS {oApp:cDir16x16 + "sWhite.bmp",;
oApp:cDir16x16 + "sBlue.bmp",;
oApp:cDir16x16 + "sRosso.bmp",;
oApp:cDir16x16 + "sYellow.bmp",;
oApp:cDir16x16 + "sGreen.bmp",;
oApp:cDir16x16 + "sRed.bmp" }
I convert bmp files to resource.
Code: Select all
Bmp_sBlue BITMAP "Res\\sblue.bmp"
Bmp_sGreen BITMAP "Res\\sgreen.bmp"
Bmp_sRed BITMAP "Res\\sred.bmp"
Bmp_sRosso BITMAP "Res\\srosso.bmp"
Bmp_sWhite BITMAP "Res\\swhite.bmp"
Bmp_sYellow BITMAP "Res\\syellow.bmp"
Code: Select all
@ 198,55 COMBOBOX oRenkKodu Var xBG_Renk Of oDlg Pixel;
ITEMS {" Beyaz", " Mavi", " Rosso", " Sarı", " Yeşil", " Kırmızı"} SIZE 100,12 ;
BITMAPS { "Bmp_sWhite", "Bmp_sBlue", "Bmp_sRosso", "Bmp_sYellow", "Bmp_sGreen", "Bmp_sRed" }
Is it normal?