11/26/2024 6:25:50 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
Active Form Scrollbars
Posted: 31 Jul 07 12:22 PM
|
Has anyone noticed that the vertscrollbar.visible property on active forms does not save? If I set the property and save, close and reopen the form - the property is set to false again. The only way I can get my scrollbar to work after upgrading to v7.0.1 is to set this property through code. Am I missing something? |
|
|
|
Re: Active Form Scrollbars
Posted: 01 Aug 07 12:51 PM
|
That is to be expected, I think. The form was meant to reset to it's programmed constraints every time it is openned, because it treats those constraints as directions on what it has been asked to do every time it is openned. If you want to save a certain property that you set while the form is openned, then you basically have to save the settings to your own custom database table or use the UserOptions portion of SalesLogix. I use it to save a choice that a user has selected on one of my forms, and it is nice to use.
Here is the code I use in the AXFormChange event on the form: If dtpDate.Text = "" Then dtpDate.Text = Application.UserOptions.GetCreateAsString("PaymentDate", "Payment", "Payment Date", "")
And then, when the user exits the control, I use this line of code in the OnExit event: Application.UserOptions.SetAsString "PaymentDate", "Payment", dtpDate.Text, False
This way, you are using code to set the property every time the form opens, but it sets the property to whatever the user last selected (and it only for that particular user). To the user, it appears to remember whatever they set last time they used the form. |
|
|
|
Re: Active Form Scrollbars
Posted: 03 Mar 08 8:47 AM
|
Long time listener, first time caller, what better way to start than to dig up an old thread.
I'm using the VertScrollBar property on a form, and it's working just fine, but for some reason, the scroll bar is invisible (meaning, it's there if you click it, but it's not immediately visible). I had originally thought it was a display issue with the VirtualPC environment I was doing development on, but when bundling up the changes and deploying them, the same issue is there (almost seems like a corrupted display issue as from time to time, instead of the scroll bar, in the reserved area, it displays what was on the screen behind), and once again, clicking in the scroll bar area, it will work just fine.
Is there any way around this display issue? Or perhaps a better way to handle the scrolling on such a long form that requires a scroll? |
|
|
|
Re: Active Form Scrollbars
Posted: 08 Jul 10 7:57 AM
|
I'm dealing with this issue myself. I've got a number of users accessing Saleslogix 7.5 via laptops where the highest resolution available is 1024x768 and subsequently, some of our longer (custom) forms in Saleslogix are obscured beyond the field of display. I'm trying to make the forms scrollable but have been unable to so far. I've set the Tracking and Visible properties (along with the Autoscroll property) to true (the Tracking property keeps turning itself off) but I cannot get the scrollbars to appear (they will sometimes display in the Architect but the updated/released form version will not display them in the Client). Does anyone have any insights or am I missing something? |
|
|
|
Re: Active Form Scrollbars
Posted: 15 Jul 10 9:30 AM
|
what kind of form (a tab?)
We use Align= alClient on the tab form and grid....I design in a high resolution environment and our users (well 60% or so) are using 1024x768. |
|
|
|
Re: Active Form Scrollbars
Posted: 15 Jul 10 8:15 PM
|
This is the main form....
In our environment, the majority of the users are using 1280x800. The issue lies in our remote users whose max resolution is 1024x768. My goal here is to make the forms scrollable so that we don't have to change the "real estate" of the forms. |
|
|
|
Re: Active Form Scrollbars
Posted: 16 Jul 10 9:22 AM
|
Well......
You can have two forms, one for LAN and one for Remotes.....and designate which one they get use in the Administrator program (that's NOT the Architect!).
Not for the faint of heart...
or redesign the form for the lowest resolution..... |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|