Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
May 12, 1998

Insert row drop-down datawindow

Question:
How do I insert a row in a drop-down datawindow in PowerBuilder?

Answer:
You need to use a function of the datawindow control called GetChild. This function returns a pointer to a Child or Nested datawindow.

Once you have a handle to the child datawindow you can call InsertRow on the handle to insert your row.


DataWindowChild ldwc_DWC

dw_1.GetChild( 'ColumnName', ldwc_DWC )
ldwc_DWC.InsertRow( 0 )
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date