__gc String to char * ?

P

pedron

how the heck do i convert the TextBox->Text property *(which is of type __gc
String) to a char * ? is this possible? thanks

peter
 
J

John Nurick

Hi Peter,

I'm sorry: I can't think which language uses "->" instead of "." and
also uses "char *", so I may be misunderstanding your question entirely.

1) If you've got an Access Textbox (on an Access form), its .Text
property is only available when the textbox is selected. Otherwise you
must use .Value. (This is because Access controls are not conventional
Windows controls; most of the time Access just displays a picture of the
control, only creating it as a window when it's selected.)

2) For this and other reasons I doubt whether it's possible to use a
pointer to access a property of a control, if that's what you're trying
to do. But it should be possible to create a reference to the control at
least in some languages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top