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 


BitCombo Saving content of

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


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Wed Dec 01, 2004 1:42 pm    Post subject: BitCombo Saving content of Reply with quote

Hi,

Can someone help me work out how to save the selected item from a bitcombo box?

I have this bitcombo with three options in, option 1, option 2 and option 3.
When the user presses save the program should save the item in an ini file. I have tried using the inifile write,something,something,@dlgtext(bitcombo1)
but it does not seem to save the option. I then need a way to set the bitcombo to the result that was saved before.

Is this possible?
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Dec 01, 2004 2:50 pm    Post subject: Reply with quote

Try @item(bitcombo1)... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Wed Dec 01, 2004 2:50 pm    Post subject: Reply with quote

I don't use VDS 5, but if I'm not mistaken, the BitCombo is the same as
the COMBO. To access an individual item in a COMBO use the list function,
@item(BitComboName) which should return the selected item.

Using @dlgtext(BitComboName) will only return the text that is in the
edit field of the BitCombo, if it has that style.

Check the VDS 5 help file for the @item() function.

I hope this helps, at least a little. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Wed Dec 01, 2004 3:00 pm    Post subject: Reply with quote

Darn Confused Posted too slow Sad
_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Dec 01, 2004 3:04 pm    Post subject: Reply with quote

But your explaination is better... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Wed Dec 01, 2004 4:06 pm    Post subject: Reply with quote

Oh my god, I am so stupid....

Thank you so much guys.
Back to top
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


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

PostPosted: Thu Dec 02, 2004 3:57 am    Post subject: Reply with quote

I seen other ways of getting items out of bitcombos - etc.. by way I API calls not long ago from a VDS world download, but I must have lost it somewhere, cant find it.
Thats probably over kill anyways.
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Thu Dec 02, 2004 5:26 pm    Post subject: Reply with quote

Yes, using the @sendmsg() you can do this, but much easier to just use the
@item() instead.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
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