Handling different Dialog sizes on different Workstations

Top  Previous  Next

(From Newsletter #46, Sept 10, 2018)

Go to Newsletter Index

 

DISCLAIMER: This article involves Advanced Customizations, which can be technically challenging to get working and is not part of standard support.  This is programming and must be done precisely or the results can be unpredictable.  This information is provided as a service for those who have the technical skills to work through it -- we cannot help you solve any issues with getting it working.  For more information about Advanced Customizations, see the full documentation:

https://campgroundmaster.com/help/overview32.html

 

 

 

If you have set up custom Dialog Definitions with new or moved controls (fields), you may find that on other networked workstations things don't appear the same, possibly causing overlapping or missing fields.  This is due to the Windows display settings being different (e.g. using Large fonts instead of normal fonts, etc), which will automatically change the standard dialog sizes and positions, but not the customized controls.

 

Obviously the easy way to fix it is to make sure you're using the same Windows display settings on each computer.  But just in case that's not practical for your situation, then the alternative is to modify the Dialog Definition to accommodate the different sizes.

 

What you would have to do is edit the custom Dialog definition, make a Copy of EACH custom control element that's causing the position problem, and change the Top/Left positions in one copy to account for the different font size, and then include a check for the Workstation in each one.  Note that this also assumes that the workstation ID's don't change on each computer (which of course they shouldn't under normal operations).

 

For instance, if the problem Workstation is #2, then one copy (with the modified positions) would have this in the Condition expression:

    Workstation() = 2

 

...and the other control (original positions) would have:

   Workstation() != 2

 

If there is already something in the Condition, though, you need to "AND" that with any existing expressions in the condition).... e.g.

   (existing expression) AND Workstation() = 2

 

Be sure to wrap the existing expression in parenthesis as shown.

 

 


Page URL https://CampgroundMaster.com/help/handling-different-dialog-size.html

Campground Master Home