| View previous topic :: View next topic |
| Author |
Message |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 13, 2004 1:07 am Post subject: load BMP without LIST LOADTEXT on the fly ? |
|
|
Hello
I need to load label BMP's (16x16-72dpi) for my BITLIST box.
Below is what I tried, so looking at it will tell you what i want do:
| Code: | %%long_data = @text(2)
%%long_with_bmp = %%long_data""|#longbranch.bmp
dialog set,itembox1,%%long_with_bmp |
I tried adding the path to the BMP allready, no go..
| I wrote: | I figured someone else knows how to do this and would save me a lot of time with a little example. Thanks  |
|
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Tue Apr 13, 2004 1:31 am Post subject: |
|
|
Make sure your field separator is "|"  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 13, 2004 3:51 am Post subject: |
|
|
Thats what I thought, "|" just made it like text, so that never helped any, still no go...  |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Tue Apr 13, 2004 5:13 am Post subject: |
|
|
I got it, it has to be like below for some reason:
| Code: | rem blah blaa blah here
#resource add,bitmap,C:\VDS5\bmp\folder.bmp
DIALOG ADD,BITLIST,listbox1,175,6,578,165,,,DBLCLICK,MULTI
rem blah blaa blah here too..
list append,listbox1,@ITEM(1)|#folder.bmp |
VDS5 is so easy its hard  |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Tue Apr 13, 2004 1:15 pm Post subject: |
|
|
vtol wrote
| Quote: | | it has to be like below for some reason |
| Code: | | list append,listbox1,@ITEM(1)|#folder.bmp |
is in the correct format...check out the help file on bitlists as shown below
LIST ADD,BITLIST1,This is some text@fsep()#bitmap.bmp
The filename or resource filename must be the last thing on the line, and must be separated from the text by the current field separator character (see OPTION FIELDSEP). Care should be taken to ensure that the current field separator character is something that will never appear in the text itself.
serge _________________
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|