Weird(Crazy) Group behavior

Ralph DiMola rdimola at evergreeninfo.net
Mon Jun 17 16:19:52 EDT 2013


Thanks Bernd!!!

I came up with an alternate solution just before you pointed me to the
forum.
I fixed it by putting a button with no text and opaque off in the group. It
seems only the first control is affected. I set the do-nothing button's rect
to the rect of the group before adding my dynamic fields/buttons. All is
well...

I then changed the app to the cleaner way the forum's suggested. I set the
boundingRect of the group before activating the vscroll. I set it to the
minimum of any of the groups objects(or group itself) left and top and the
max of any of the groups objects(or group itself) right/bottom. 

This one kept my up till the wee hours last night with no solution. Went to
bed dreaming of controls in a group.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of BNig
Sent: Monday, June 17, 2013 2:50 PM
To: use-revolution at lists.runrev.com
Subject: Weird(Crazy) Group behavior

Hi Ralph,

I took this to a different thread, did not want to hijack Ender's thread.

This turned up on the forum the other day

http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=15450

and was reported as Bug 10949 and confirmed by Quality Control Center.
Richard Gaskin suggested as a workaround to the the boundingRect of the
group before showing the scrollbars which works nicely.

Kind regards
Bernd


Jun 17, 2013; 7:29pm   Ralph DiMola Weird(Crazy) Group behavior
I have a empty group that I dynamically place on a card. I then add and
size/position several fields. 
This all works just fine. BUT when I turn on the group's vertical scroll bar
my fields move within the group. 
This happens if I turn on the scroll bar by script or via inspector????? If
I then turn the scroll bar off/on/off/on nothing moves but everything is in
the wrong place. Controls only move when the scroll bar is turned on the
first time. 

Anyone seen something like this? 
Same in 5.5.5 or 6.0.2 

Ralph DiMola
IT Director
Evergreen Information Services 



--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Weird-Crazy-Group-behavior-tp
4666563.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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





More information about the use-livecode mailing list