Results 1 to 10 of 10

Thread: Logic problem in a flexgrid [appeal for gurus!]

Threaded View

  1. #1

    Thread Starter
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Logic problem in a flexgrid [appeal for gurus!]

    I have made a little demo project to show more clearly what I asked in this thread -still unanswered.

    The msflexgrid uses a textbox for text editing because I wanted to have the selstart and sellength properties available, which the flexgrid cells don't have, It's working fine, but now I want to add a further refinement: if any cell from a specific row, say row 10, is clicked on, or if the textbox is in the previous row (9) and you hit return or arrow down (or if we are in row 11 and we hit arrow up, etc) I want a checkbox to appear in that cell instead of the textbox. When the user has chosen the checkbox state (by means of the spacebar key or the mouse) and hits return (or clicks another cell with the mouse), I want the checkbox to be made invisible and the textbox to appear in the corresponding cell.

    Doesn't seem to be too complicated, but the logic of it is driving me bananas.
    Attached Files Attached Files
    Last edited by krtxmrtz; Sep 12th, 2006 at 09:35 AM. Reason: Badly need help
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width