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 


Displaying Combo Box element

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


Joined: 08 Feb 2007
Posts: 17

PostPosted: Mon Feb 12, 2007 12:48 pm    Post subject: Displaying Combo Box element Reply with quote

Hi, is there a way to automatically display the first element of a list in a combo box ? Thanks in advance
Back to top
View user's profile Send private message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 169
Location: Spain

PostPosted: Mon Feb 12, 2007 3:18 pm    Post subject: Reply with quote

Hi marculos:

There is no an automatic form in order that an COMBO BOX element present/display first line of a list. It is necessary to assign information in the COMBO and seek at first element (element #0)

Try this code:
Code:

  DIALOG CREATE,Combo Test,-1,0,240,316
  DIALOG ADD,COMBO,COMBO1,16,10,180,24,,,CLICK
  DIALOG SHOW

  list loadtext,combo1
"line 0
"line 1
"line 2
"line 3
"line 4

  list seek,combo1,0
  wait event


_________________

visit uVeDeSe site: http://www.uvedese.es
Back to top
View user's profile Send private message Visit poster's website
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