OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Get Form's Control

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Sergej
General User
General User


Joined: 07 Dec 2006
Posts: 7

PostPosted: Thu Jan 25, 2007 5:55 am    Post subject: Get Form's Control Reply with quote

Hello,

Say I have such code

sub UpdateLKW( oEv as object )

oForm = oEv.Source.Model.Parent
oComboBox = oForm.getByName("txtLKW")

.....

the problem is that oComboBox is now a "Model" of "txtLKW" Control, and I don't need that, I need link to control's methods, like through Dialog method "getControl()"

Anybody know how to do this?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group