v11 Listbox highlight oddity

View: New views
10 Messages — Rating Filter:   Alert me  

v11 Listbox highlight oddity

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

selection based, dynamic listbox, Mac 10.4.11

when I switch tabs (causing the list box to be redefined - change of
source table and column data sources), all of the rows of the list box
are highlighted.

I have put an explicit clear into the code :
SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox selection )

this does not stop the highlight, neither does adding an redraw window.

However, moving the mouse clears the highlight.
Anyone else?
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Nigel Greenlee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chip

Try 'Jiggling' the window. I have found (in the old days)  this helps  
sometimes with stubborn redraw issues.

Jiggle the window..what the H*** is that....

Get window rect($left;$top;$Right;$Bottom)
Set window record($Left;$top;$right;$Bottom+1)
Set window record($Left;$top;$right;$Bottom)

`users wont notice a thing!


On 6 Nov 2009, at 16:43, Chip Scheide wrote:

> selection based, dynamic listbox, Mac 10.4.11
>
> when I switch tabs (causing the list box to be redefined - change of
> source table and column data sources), all of the rows of the list box
> are highlighted.
>
> I have put an explicit clear into the code :
> SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox  
> selection )
>
> this does not stop the highlight, neither does adding an redraw  
> window.
>
> However, moving the mouse clears the highlight.
> Anyone else?
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

LOL
ok a jiggle it is  :)

isnt that a song??
a jiggling we will go...

oh sorry thats only for Pole dancers  8D

On Fri, 6 Nov 2009 16:55:32 +0000, Nigel Greenlee wrote:

> Chip
>
> Try 'Jiggling' the window. I have found (in the old days)  this helps
> sometimes with stubborn redraw issues.
>
> Jiggle the window..what the H*** is that....
>
> Get window rect($left;$top;$Right;$Bottom)
> Set window record($Left;$top;$right;$Bottom+1)
> Set window record($Left;$top;$right;$Bottom)
>
> `users wont notice a thing!
>
>
> On 6 Nov 2009, at 16:43, Chip Scheide wrote:
>
>> selection based, dynamic listbox, Mac 10.4.11
>>
>> when I switch tabs (causing the list box to be redefined - change of
>> source table and column data sources), all of the rows of the list box
>> are highlighted.
>>
>> I have put an explicit clear into the code :
>> SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox selection )
>>
>> this does not stop the highlight, neither does adding an redraw window.
>>
>> However, moving the mouse clears the highlight.
>> Anyone else?
>> **********************************************************************
>> Get the speed and power of 4D v11 SQL
>> before upgrade prices increase - http://www.4d.com
>>
>>
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4D.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4D_Tech-Unsubscribe@...
>> **********************************************************************
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>  
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nope it doesnt resolve the problem

only moving the mouse -
maybe posting some cursor movements ...
Ill play with it later

On Fri, 6 Nov 2009 16:55:32 +0000, Nigel Greenlee wrote:
> Get window rect($left;$top;$Right;$Bottom)
> Set window record($Left;$top;$right;$Bottom+1)
> Set window record($Left;$top;$right;$Bottom)
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Parent Message unknown Re: v11 Listbox highlight oddity

by Ortwin Zillgen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Try 'Jiggling' the window. I have found (in the old days)  this helps
> sometimes with stubborn redraw issues.

CALL PROCESS(Current process)
sometimes has astonishing results
<http://dddd.mettre.de/zweiFenster.shtml?nug>


Regards
Ortwin Zillgen
___________________________________________________
Stadt Land Fluß * Geographic Informationsystems
<mailto:info@...>   <http://dddd.mettre.de?4713>
RSS <feed://dddd.mettre.de/dddd.xml>
RSS <feed://dddd.mettre.de/f/DDDD_Links.xml>


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com


4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nope -
does not resolve this issue -

Thanks though

On Fri, 6 Nov 2009 20:29:13 +0100, Ortwin Zillgen wrote:
> CALL PROCESS(Current process)
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Sheldon King-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've observed a similar phenomenon where the listbox wouldn't redraw until
you clicked somewhere in the form. I finally resolved the problem by

POST CLICK(1;1;Current process)

worked quite nicely.

--
The man who smiles when things go wrong has thought of someone to blame it
on. - Robert Bloch
--

Sheldon King
King Computer Consulting
918-413-4330
sgking@...


On Fri, Nov 6, 2009 at 1:29 PM, Ortwin Zillgen <info@...> wrote:

> Try 'Jiggling' the window. I have found (in the old days)  this helps
>> sometimes with stubborn redraw issues.
>>
>
> CALL PROCESS(Current process)
> sometimes has astonishing results
> <http://dddd.mettre.de/zweiFenster.shtml?nug>
>
>
> Regards
> Ortwin Zillgen
> ___________________________________________________
> Stadt Land Fluß * Geographic Informationsystems
> <mailto:info@...>   <http://dddd.mettre.de?4713>
> RSS <feed://dddd.mettre.de/dddd.xml>
> RSS <feed://dddd.mettre.de/f/DDDD_Links.xml>
>
>
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com


4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Alan Chan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We have been using Create Emtpy Set for the highlightset.

Alan Chan

4D iNug Technical <4d_tech@...> writes:
>
>
>I have put an explicit clear into the code :
>SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox selection )
>
>

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I *think* I tried this - and it didnt work
Ill revisit as time permits

On Sat, 07 Nov 2009 07:11:53 +0800, Alan Chan wrote:

> We have been using Create Emtpy Set for the highlightset.
>
> Alan Chan
>
> 4D iNug Technical <4d_tech@...> writes:
>>
>>
>> I have put an explicit clear into the code :
>> SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox selection )
>>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: v11 Listbox highlight oddity

by Alan Chan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It works flawlessly for us on both Client/server and local mode. Create
Empty Set should be called after all columns to be inserted. Basically, if
you put Create Empty Set as the last line on the On load form event in the
LB Object, it should work.

By the way, I think the SELECT LISTBOX ROW "should" work, but it doesn't.
I would say it's a bug. In fact, I consider using Create Empty Set is a
get around and not a proper call. For the moment, this is the only command
that works on our cases.

Alan Chan

4D iNug Technical <4d_tech@...> writes:

>I *think* I tried this - and it didnt work
>Ill revisit as time permits
>
>On Sat, 07 Nov 2009 07:11:53 +0800, Alan Chan wrote:
>> We have been using Create Emtpy Set for the highlightset.
>>
>> Alan Chan
>>
>> 4D iNug Technical <4d_tech@...> writes:
>>>
>>>
>>> I have put an explicit clear into the code :
>>> SELECT LISTBOX ROW(lb_Lab_Inv_Related;0;Remove from listbox selection )
>>>
>**********************************************************************
>Get the speed and power of 4D v11 SQL
>before upgrade prices increase - http://www.4d.com
>  
>
>4D Internet Users Group (4D iNUG)
>FAQ:  http://lists.4d.com/faqnug.html
>Archive:  http://lists.4D.com/archives.html
>Options: https://lists.4d.com/mailman/options/4d_tech
>Unsub:  mailto:4D_Tech-Unsubscribe@...
>**********************************************************************


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************