|
-
September 5th, 2002, 06:40 AM
#1
Flexgrid. trouble..
Hi all,
I'm using Vb .NET for an application which involves entering data in a Flex
Grid, due to the client's comfortablity level.
I have written the code. I've put one flexgrid, and a text box. When ever
user double clicks on any cell, the text box becomes visible and is set to
the coordinates of that current cell and the user enters the data in that
text box which gets written in the current cell right below that text box.
Now the trouble is when the user is entering the data in the textbox, it
(the data, not the textbox) is not visible and it becomes visible directly
in the current cell on pressing enter.
can someone give me an idea as to why this is happening??? I can send the
code if one wants.
Thnks
-
September 5th, 2002, 12:17 PM
#2
possibly...
your focus is switching. I imagine the code in your textbox_KeyPress or textbox_TextChange event transfers the input to the grid as it's being typed... try transfering that data when the user leaves the text box, in the LostFocus event.
It should function the same, and be transparent to the user. Hope that helps!
Old school... six lines a day and I'm done.
-
September 6th, 2002, 12:13 AM
#3
Hi
Thnks ... I think that might be the reason. I'll try something there..

rajtofar
REAL USERS HATE REAL PROGRAMMERS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|