Xojo Conferences
XDCMay2019MiamiUSA

Keeping editable cell selected in ListBox with another window on top (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Advice of best practice - multi line text grid
Next thread: Opening a file as Readonly


RB Database   -   tom.russell transport.alstom.com
  Keeping editable cell selected in ListBox with another window on top   -   RBNUBE
   Re: Keeping editable cell selected in ListBox with another window on top   -   Joseph J. Strout
    RE: Keeping editable cell selected in ListBox with another window on top   -   RBNUBE
     Re: Keeping editable cell selected in ListBox with another window on top   -   CV
      RE: Keeping editable cell selected in ListBox with another windowon top   -   RBNUBE
       RE: Keeping editable cell selected in ListBox with another windowontop   -   RBNUBE
        Re: Keeping editable cell selected in ListBox with another windowontop   -   CV
         RE: Keeping editable cell selected in ListBox with anotherwindowontop   -   RBNUBE
          Re: Keeping editable cell selected in ListBox with anotherwindowontop   -   CV
           RE: Keeping editable cell selected in ListBox withanotherwindowontop   -   RBNUBE
            Re: Keeping editable cell selected in ListBox withanotherwindowontop   -   CV

Keeping editable cell selected in ListBox with another window on top
Date: 12.02.06 20:45 (Sun, 12 Feb 2006 14:45:19 -0500)
From: RBNUBE
Is it possible to keep an editable cell selected in a ListBox when another
window is on top? I'm trying to use a pallet to edit the contents of the
selected cell in the ListBox.

Thanks.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Keeping editable cell selected in ListBox with another window on top
Date: 13.02.06 16:51 (Mon, 13 Feb 2006 08:51:23 -0700)
From: Joseph J. Strout
At 2:45 PM -0500 2/12/06, RBNUBE wrote:

>Is it possible to keep an editable cell selected in a ListBox when another
>window is on top? I'm trying to use a pallet to edit the contents of the
>selected cell in the ListBox.

Make your palette a floating window. Then it won't take the focus
from a regular document window (which I presume is what contains your
Listbox).

Best,
- Joe

RE: Keeping editable cell selected in ListBox with another window on top
Date: 14.02.06 03:29 (Mon, 13 Feb 2006 21:29:56 -0500)
From: RBNUBE
The pallet is a floating window and the main window is a document window.

Seems that this doesn't work as I expect.

As a test, I made a simple project with two windows. Win1 is the document
window with a ListBox, Win2 the floating pallet window. When Win1 opens,
rows are added to the ListBox and the cells in column 0 are set to be
editable.

Clicking on a cell to make it the ActiveCell works properly. When I click
something in the pallet window (a PushButton that does nothing, for
instance), the Active cell disappears and leaves the whole row selected.

Is this normal behavior? If so, how can I avoid it?

Thanks!

-----Original Message-----
From: <email address removed>
[mailto:<email address removed>] On Behalf Of Joseph
J. Strout
Sent: Monday, February 13, 2006 10:51 AM
To: Getting Started
Subject: Re: Keeping editable cell selected in ListBox with another window
on top

At 2:45 PM -0500 2/12/06, RBNUBE wrote:

>Is it possible to keep an editable cell selected in a ListBox when
>another window is on top? I'm trying to use a pallet to edit the
>contents of the selected cell in the ListBox.

Make your palette a floating window. Then it won't take the focus
from a regular document window (which I presume is what contains your
Listbox).

Best,
- Joe

Re: Keeping editable cell selected in ListBox with another window on top
Date: 14.02.06 07:57 (Mon, 13 Feb 2006 22:57:00 -0800)
From: CV
I've tried to duplicate the effect you're seeing with Window2 either
Frame3 or Frame7 with no luck. Clicking Window2 or a pushbutton on
Window2 that does nothing doesn't show any effect on Window1, so we
must be doing something differently.

Jack

On Feb 13, 2006, at 6:29 PM, RBNUBE wrote:

> The pallet is a floating window and the main window is a document
> window.
>
> Seems that this doesn't work as I expect.
>
> As a test, I made a simple project with two windows. Win1 is the
> document
> window with a ListBox, Win2 the floating pallet window. When Win1
> opens,
> rows are added to the ListBox and the cells in column 0 are set to be
> editable.
>
> Clicking on a cell to make it the ActiveCell works properly. When
> I click
> something in the pallet window (a PushButton that does nothing, for
> instance), the Active cell disappears and leaves the whole row
> selected.
>
> Is this normal behavior? If so, how can I avoid it?
>
> Thanks!
>
> -----Original Message-----
> From: <email address removed>
> [mailto:<email address removed>] On Behalf Of
> Joseph
> J. Strout
> Sent: Monday, February 13, 2006 10:51 AM
> To: Getting Started
> Subject: Re: Keeping editable cell selected in ListBox with another
> window
> on top
>
> At 2:45 PM -0500 2/12/06, RBNUBE wrote:
>
>> Is it possible to keep an editable cell selected in a ListBox when
>> another window is on top? I'm trying to use a pallet to edit the
>> contents of the selected cell in the ListBox.
>>
> Make your palette a floating window. Then it won't take the focus
> from a regular document window (which I presume is what contains your
> Listbox).
>
> Best,
> - Joe
>
> --
>
> Joseph J. Strout
> <email address removed>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

RE: Keeping editable cell selected in ListBox with another windowon top
Date: 14.02.06 14:18 (Tue, 14 Feb 2006 08:18:25 -0500)
From: RBNUBE
Could be that I'm using 5.5 and not 200x...

I don't have time to check right now. Will check later tonight.

Thanks.


-----Original Message-----
From: <email address removed>
[mailto:<email address removed>] On Behalf Of CV
Sent: Tuesday, February 14, 2006 1:57 AM
To: Getting Started
Subject: Re: Keeping editable cell selected in ListBox with another windowon
top

I've tried to duplicate the effect you're seeing with Window2 either
Frame3 or Frame7 with no luck. Clicking Window2 or a pushbutton on
Window2 that does nothing doesn't show any effect on Window1, so we
must be doing something differently.

Jack

On Feb 13, 2006, at 6:29 PM, RBNUBE wrote:

> The pallet is a floating window and the main window is a document
> window.
>
> Seems that this doesn't work as I expect.
>
> As a test, I made a simple project with two windows. Win1 is the
> document
> window with a ListBox, Win2 the floating pallet window. When Win1
> opens,
> rows are added to the ListBox and the cells in column 0 are set to be
> editable.
>
> Clicking on a cell to make it the ActiveCell works properly. When
> I click
> something in the pallet window (a PushButton that does nothing, for
> instance), the Active cell disappears and leaves the whole row
> selected.
>
> Is this normal behavior? If so, how can I avoid it?
>
> Thanks!
>
> -----Original Message-----
> From: <email address removed>
> [mailto:<email address removed>] On Behalf Of
> Joseph
> J. Strout
> Sent: Monday, February 13, 2006 10:51 AM
> To: Getting Started
> Subject: Re: Keeping editable cell selected in ListBox with another
> window
> on top
>
> At 2:45 PM -0500 2/12/06, RBNUBE wrote:
>
>> Is it possible to keep an editable cell selected in a ListBox when
>> another window is on top? I'm trying to use a pallet to edit the
>> contents of the selected cell in the ListBox.
>>
> Make your palette a floating window. Then it won't take the focus
> from a regular document window (which I presume is what contains your
> Listbox).
>
> Best,
> - Joe
>
> --
>
> Joseph J. Strout
> <email address removed>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

RE: Keeping editable cell selected in ListBox with another windowontop
Date: 15.02.06 06:30 (Wed, 15 Feb 2006 00:30:32 -0500)
From: RBNUBE
It appears to be a Mac/PC thing. Works as I want it to on Mac, but not on
PC.

Is there a way to force the same behavior on Windows?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Keeping editable cell selected in ListBox with another windowontop
Date: 15.02.06 18:33 (Wed, 15 Feb 2006 09:33:58 -0800)
From: CV

On Feb 14, 2006, at 9:30 PM, RBNUBE wrote:

> It appears to be a Mac/PC thing. Works as I want it to on Mac, but
> not on
> PC.
>
> Is there a way to force the same behavior on Windows?

Yes, I see that, it seems to be a Mac/PC issue as you say. Perhaps it
warrants a feedback report.

As for getting the same behavior on Windows, I suspect that you could
draw the "edit" image into CellBackGround paint as you open the
floating window. Isn't it essentially an appearance issue at this
point, since you are not able to actually continue the edit until the
floating window closes?

Alternately you might experiment with calling Window1.EditCell
(RowBeingEdited, ColumnBeingEdited) from appropriate events in Window
2. You would probably need to set a boolean property IsOpening,
because I think you would have to call from Window2's Activate/
Deactivate events and perhaps the MouseDown event also and, say, the
Action events of any buttons on Window2 in order to hold the EditCell.

Best,

Jack


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

RE: Keeping editable cell selected in ListBox with anotherwindowontop
Date: 16.02.06 05:18 (Wed, 15 Feb 2006 23:18:55 -0500)
From: RBNUBE
> Isn't it essentially an appearance issue at this
> point, since you are not able to actually continue
> the edit until the floating window closes?

I don't really consider it an appearance issue. I think the behavior is
incorrect.

The cells should either be typed into directly once it becomes the
ActiveCell or the user should double-click something on the pallet to fill
the ActiveCell. The "something" is actually another ListBox with rows of
information that is commonly used multiple times within multiple documents.
When a row is double-clicked, the information in the pallet is to pop into
the ActiveCell.

You should be able to continue editing regardless of whether the pallet
window is open or not. It's a floating window, not a modal window--similar
to a pallet in Quark, Photoshop, etc.

Thanks for the suggestions. I tried them as well as a couple other ideas I
had, but nothing worked. Got tired of trying to hack it.



-----Original Message-----
From: <email address removed>
[mailto:<email address removed>] On Behalf Of CV
Sent: Wednesday, February 15, 2006 12:34 PM
To: Getting Started
Subject: Re: Keeping editable cell selected in ListBox with
anotherwindowontop


On Feb 14, 2006, at 9:30 PM, RBNUBE wrote:

> It appears to be a Mac/PC thing. Works as I want it to on Mac, but
> not on
> PC.
>
> Is there a way to force the same behavior on Windows?

Yes, I see that, it seems to be a Mac/PC issue as you say. Perhaps it
warrants a feedback report.

As for getting the same behavior on Windows, I suspect that you could
draw the "edit" image into CellBackGround paint as you open the
floating window. Isn't it essentially an appearance issue at this
point, since you are not able to actually continue the edit until the
floating window closes?

Alternately you might experiment with calling Window1.EditCell
(RowBeingEdited, ColumnBeingEdited) from appropriate events in Window
2. You would probably need to set a boolean property IsOpening,
because I think you would have to call from Window2's Activate/
Deactivate events and perhaps the MouseDown event also and, say, the
Action events of any buttons on Window2 in order to hold the EditCell.

Best,

Jack


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Keeping editable cell selected in ListBox with anotherwindowontop
Date: 16.02.06 05:53 (Wed, 15 Feb 2006 20:53:25 -0800)
From: CV

On Feb 15, 2006, at 8:18 PM, RBNUBE wrote:

>> Isn't it essentially an appearance issue at this
>> point, since you are not able to actually continue
>> the edit until the floating window closes?
>>
> I don't really consider it an appearance issue. I think the
> behavior is
> incorrect.
>

I agree. Are you filing a feedback report?

Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

RE: Keeping editable cell selected in ListBox withanotherwindowontop
Date: 16.02.06 06:49 (Thu, 16 Feb 2006 00:49:11 -0500)
From: RBNUBE
I just did:

Report ID: yugeyeig

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Keeping editable cell selected in ListBox withanotherwindowontop
Date: 16.02.06 07:44 (Wed, 15 Feb 2006 22:44:58 -0800)
From: CV

On Feb 15, 2006, at 9:49 PM, RBNUBE wrote:

> yugeyeig

Good. I added it to my watchlist.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>