Re: [data grid] can't hide one of the scrollbar

2010-05-26 Thread Andre.Bisseret


Le 25 mai 10 à 22:37, Trevor DeVore a écrit :


On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:


-
on mouseUp
 local DGRef,
 ---
 copy group DataGrid of group Templates of stack  
revDataGridLibrary to this card

 put it into DGRef
 set the dgProp[show hScrollBar] of DGRef to false
 set the dgProp[show vScrollBar] of DGRef to false
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll  
bar which remains visible


In other words, the last line is not executed

What am I doing wrong?


Nothing. There was an unbalanced lock messages call in one of the  
handlers that repositioned columns. I've fixed this for the next  
release. If you want to fix it in your own copy of the library find  
the ned of the handler _table.RepositionColumns and add 'set the  
lockmessages to msgsAreLocked' above the unlock screen call.


===
  ...

  set the lockmessages to msgsAreLocked
  unlock screen
end _table.RepositionColumns



Bonjour Trevor,
Thank you very much for that (also for your other answers for text  
color and dimmed hilite color


Your additions to the library are much appreciated ;-)

Best regards from Grenoble

André



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [data grid] can't hide one of the scrollbar

2010-05-26 Thread zryip theSlug
2010/5/25 Trevor DeVore li...@mangomultimedia.com

 On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:

  -
 on mouseUp
  local DGRef,
  ---
  copy group DataGrid of group Templates of stack revDataGridLibrary
 to this card
  put it into DGRef
  set the dgProp[show hScrollBar] of DGRef to false
  set the dgProp[show vScrollBar] of DGRef to false
 end mouseUp
 -
 then, the V scroll bar remains visible

 If I invert the order of the 2 last lines then it is the H scroll bar
 which remains visible

 In other words, the last line is not executed

 What am I doing wrong?


 Nothing. There was an unbalanced lock messages call in one of the
 handlers that repositioned columns. I've fixed this for the next release. If
 you want to fix it in your own copy of the library find the ned of the
 handler _table.RepositionColumns and add 'set the lockmessages to
 msgsAreLocked' above the unlock screen call.

 ===
   ...

   set the lockmessages to msgsAreLocked
   unlock screen
 end _table.RepositionColumns
 


I have just updated my copy of the Data Grid Lib with all your recent posts,
thanks Trevor ;)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [data grid] can't hide one of the scrollbar

2010-05-25 Thread Trevor DeVore

On May 13, 2010, at 10:45 AM, Andre.Bisseret wrote:


-
on mouseUp
  local DGRef,
  ---
  copy group DataGrid of group Templates of stack  
revDataGridLibrary to this card

  put it into DGRef
  set the dgProp[show hScrollBar] of DGRef to false
  set the dgProp[show vScrollBar] of DGRef to false
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll  
bar which remains visible


In other words, the last line is not executed

What am I doing wrong?


Nothing. There was an unbalanced lock messages call in one of the  
handlers that repositioned columns. I've fixed this for the next  
release. If you want to fix it in your own copy of the library find  
the ned of the handler _table.RepositionColumns and add 'set the  
lockmessages to msgsAreLocked' above the unlock screen call.


===
   ...

   set the lockmessages to msgsAreLocked
   unlock screen
end _table.RepositionColumns


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [data grid] can't hide one of the scrollbar

2010-05-14 Thread Andre.Bisseret


Le 14 mai 10 à 00:01, zryip theSlug a écrit :


2010/5/13 Andre.Bisseret andre.bisse...@inria.fr:

Bonjour,

In a brand new stack I put a button whose script is :
-
on mouseUp
  local DGRef,
  ---
  copy group DataGrid of group Templates of stack  
revDataGridLibrary

to this card
  put it into DGRef
  set the dgProp[show hScrollBar] of DGRef to false
  set the dgProp[show vScrollBar] of DGRef to false
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll  
bar which

remains visible

In other words, the last line is not executed

What am I doing wrong?


Best regards from Grenoble

André


Bonjour André,

Not helpful here, but I've tested this and I encounter the same  
behavior.

I have tried different ways to avoid it but with no result.

By testing content of the dgProp[show hScrollBar] and the
dgProp[show vScrollBar] immediately after the code, the first
property is set to false, the second is set to empty.

I have tried with a delay and a refresh command, however with no  
result.

I also tried that



Odds

Yes!




Bonjour Zryip,

Thanks for your attention
I made other trials.
Seems that it is necessary to populate the dataGrid before hiding the  
2 scrollbars


Trying to hide the 2 scrollbars after having only set headers for  
example does not works (the second scrollbar keeps being visible)


But it is possible to hide the 2 scrollbars after having populated the  
datagrid, even without setting headers first (that is keeping Col 1,  
Col 2 etc)


Don't understand why! ;-))
Sure Trevor will explain that

Best regards from Grenoble

André






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[data grid] can't hide one of the scrollbar

2010-05-13 Thread Andre.Bisseret

Bonjour,

In a brand new stack I put a button whose script is :
-
on mouseUp
   local DGRef,
   ---
   copy group DataGrid of group Templates of stack  
revDataGridLibrary to this card

   put it into DGRef
   set the dgProp[show hScrollBar] of DGRef to false
   set the dgProp[show vScrollBar] of DGRef to false
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll bar  
which remains visible


In other words, the last line is not executed

What am I doing wrong?


Best regards from Grenoble

André

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [data grid] can't hide one of the scrollbar

2010-05-13 Thread Cameron BOUCH
And you expect me to know this, how?

--- On Thu, 5/13/10, Andre.Bisseret andre.bisse...@inria.fr wrote:


From: Andre.Bisseret andre.bisse...@inria.fr
Subject: [data grid] can't hide one of the scrollbar
To: use-revolution@lists.runrev.com
Date: Thursday, May 13, 2010, 10:45 AM


Bonjour,

In a brand new stack I put a button whose script is :
-
on mouseUp
   local DGRef,
   ---
   copy group DataGrid of group Templates of stack revDataGridLibrary to 
this card
   put it into DGRef
   set the dgProp[show hScrollBar] of DGRef to false
   set the dgProp[show vScrollBar] of DGRef to false
end mouseUp
-
then, the V scroll bar remains visible

If I invert the order of the 2 last lines then it is the H scroll bar which 
remains visible

In other words, the last line is not executed

What am I doing wrong?


Best regards from Grenoble

André

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [data grid] can't hide one of the scrollbar

2010-05-13 Thread zryip theSlug
2010/5/13 Andre.Bisseret andre.bisse...@inria.fr:
 Bonjour,

 In a brand new stack I put a button whose script is :
 -
 on mouseUp
   local DGRef,
   ---
   copy group DataGrid of group Templates of stack revDataGridLibrary
 to this card
   put it into DGRef
   set the dgProp[show hScrollBar] of DGRef to false
   set the dgProp[show vScrollBar] of DGRef to false
 end mouseUp
 -
 then, the V scroll bar remains visible

 If I invert the order of the 2 last lines then it is the H scroll bar which
 remains visible

 In other words, the last line is not executed

 What am I doing wrong?


 Best regards from Grenoble

 André

Bonjour André,

Not helpful here, but I've tested this and I encounter the same behavior.
I have tried different ways to avoid it but with no result.

By testing content of the dgProp[show hScrollBar] and the
dgProp[show vScrollBar] immediately after the code, the first
property is set to false, the second is set to empty.

I have tried with a delay and a refresh command, however with no result.


Odds

Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution