forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


load BMP without LIST LOADTEXT on the fly ?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 13, 2004 1:07 am    Post subject: load BMP without LIST LOADTEXT on the fly ? Reply with quote

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.. Sad

I wrote:
I figured someone else knows how to do this and would save me a lot of time with a little example. Thanks Smile
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Apr 13, 2004 1:31 am    Post subject: Reply with quote

Make sure your field separator is "|" Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 13, 2004 3:51 am    Post subject: Reply with quote

Thats what I thought, "|" just made it like text, so that never helped any, still no go... Sad
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Apr 13, 2004 5:13 am    Post subject: Reply with quote

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 Embarassed Laughing
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Apr 13, 2004 1:15 pm    Post subject: Reply with quote

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.

Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group