Form control doesn't repond properly? 
Author Message
 Form control doesn't repond properly?

Hi. I've came across something that has puzzled me. I've a template, which
has three edit boxes (added with the Controls toolbar). Whenever I try to
save, I check that the edit boxes have text (querying the sixe:
editBox.TextLength). If all of them have text, the I allow the user to save.

So far, so good. That works perfect when I'm working with the dot. When I
create a doc based on it, the editboxes appear, but, they always say that
their text size is zero, with or without text! I really have no idea what's
going on. I'm working on Office 97 Pro.

Thanks in advance,
Ignacio Burgue?o



Fri, 21 Nov 2003 12:40:06 GMT  
 Form control doesn't repond properly?
Hey Ignacio,

Check how the TextLength Property handles text in your "EditBox"? The developer
of this control should have provided documentation that gives instructions on its
methods, properties and events. Use the Object viewer in the VBA to do that.
Normally, for a TextBox or MaskEditBox control the TextLenth property returns 0
and a non-zero integer if some text is in the box. One wild guess without knowing
the interworkings of your EditBox control is that whenever it's loaded you may be
clearing/deleting its content even you have progammatically assigned some string
in your intinialize event method.

Good luck.

Otman Estrada

Quote:
-----Original Message-----

Hi. I've came across something that has puzzled me. I've a template, which
has three edit boxes (added with the Controls toolbar). Whenever I try to
save, I check that the edit boxes have text (querying the sixe:
editBox.TextLength). If all of them have text, the I allow the user to save.

So far, so good. That works perfect when I'm working with the dot. When I
create a doc based on it, the editboxes appear, but, they always say that
their text size is zero, with or without text! I really have no idea what's
going on. I'm working on Office 97 Pro.

Thanks in advance,
Ignacio Burgue?o

.



Sat, 22 Nov 2003 02:48:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Form doesn't display properly on user's PC

2. Access 2000 Form Doesn't Repaint Properly!

3. Small toolbar look - toolbar control doesn't work properly

4. WebBrowser control doesn't write cookies properly???

5. Form_Load() doesn't execute, form doesn't load

6. Documenter doesn't work properly in A2K

7. Why doesn't Access always add properly?

8. Outlook doesn't properly start on external activation

9. Why doesn't OWA display this properly?

10. Select method doesn't work properly

11. Listbox w/ datasource doesn't sync properly

12. window doesn't paint or scroll properly after recieving WM_GETTEXT

 

 
Powered by phpBB® Forum Software