Re: Mx: window scrollable by program



Yes, get the MxAdjustment from the MxViewport through the MxScrollable
interface, and you can then change the value of the top visible part of
your actor.

Currently i have this:

MxFrame
    |-> MxBoxLayout
        |-> MxScrollBar
        |-> MxViewport
            |-> MxBoxLayout
                |-> Some actors added here

At last i could set up the MxScrollBar to work as i needed.
I have problems with MxViewport: i tried to add adjustments but its content is 
not displayed yet. Probably other properties must also be set, or i set up the 
adjustment incorrectly.
If i replace it with e.g. MxFrame, its content gets visible.
Please help me to set up it.

Regards
Gyorgy Kovesdi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]