At 03:10 PM 7/30/2004 -0400, Kayza Kleinman wrote:
... What I would REALLY like to happen, however, is for the
system to dynamically increase the number of rows that the
scrolling region can show. This needs to be dynamic, because
people have different sized screens at different resolutions,
so I want the number of rows to increase to fill the screen,
while keeping each row at the same height it was.
Is this doable? Do I need to look at different functionality?
Or do I need to submit an enhancement request?
Kayza,
Is this doable?
Remember, nothing is impossible!
Here's how you can achieve your goal:
01. Assign a <Component ID> to the Scrolling Region Control
such as, FlexibleSRegion
02. Disable the "Maximize" option from the From Properties
Form Properties > Dynamic Caption > Caption Butttons
03. Place Speed Button Control with the following properties:
Caption: Maximize
Use the following code as Custom EEP:
EEPs > Edit Custom EEP...
MAXIMIZE
PROPERTY FlexibleSRegion ROWCOUNT 20
RETURN
04. Place another Speed Button Control with the following
properties:
Caption: Normalize
Use the following code as Custom EEP:
EEPs > Edit Custom EEP...
NORMALIZE
PROPERTY FlexibleSRegion ROWCOUNT 10
RETURN
05. Save the form
That's all there is to it!
Note: Based on your form, screen, etc., you'll need to adjust
the ROWCOUNT xx accordingly in both EEPs.
For complete documentation and supported property commands:
01. http://www.rbase.com/property (FREE)
02. FormProperties.PDF (FREE)
03. R:Docs (Annual Subscription)
Enjoy and make sure to have fun!
Very Best R:egards,
Razzak.