Form gadgets don't show up on 2nd form opening
I display a modal dialog that contains gadgets for color picking (a black rectangle filled with the selected color.) I open this dialog on a menuEvent and fire a frmOpenEvent to set it up: case MapDepthColors : form = FrmInitForm( DepthColorsForm ); FireFrmOpenEvent( DepthColorsForm ); FrmSetEventHandler( form, ( FormEventHandlerPtr) DepthColorsHandleEvent ); FrmDoDialog( form ); FrmDeleteForm( form ); handled = true; break; The first time I open the dialog, everything's fine. But after that, my color gadgets do not show up anymore, even if I exit with the Cancel button, that my event handler ignores (thus doing nothing.) What can remain after a FrmDeleteForm? Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Changing Lifedrive LED color
Hi Dima, On the lifedrive I have all I get is orangish yellow for any disk access, power state, etc... <_< Define Easily availabe ;) Dmirty easy or Ryan can use standard API or dima provided API eaisly enough? ;) ~Ryan -- Thanks and best regards, Ryan Rix TamsPalm - The PalmOS Blog We're only gonna die for our own arrogance, so we might as well take our time On Mon November 10 2008 11:35:11 am Dmitry Grinberg wrote: > both leds are easily available, BUT the battery charge controller also > controls the LEDs, thus both led's states are the logical OR of the > charge controller's wishes and yours. Furthermore both colors are used > but the HDD driver (red for write, green for read, yellow for "other") > > Best Regards, > Dmitry Grinberg > (847) 226 9295 > > On Sun, Nov 9, 2008 at 5:19 PM, Ryan Rix <[EMAIL PROTECTED]> wrote: > > Hi, > > > > According to the Hack&Dev Linux faq on the LD > > (http://trac.hackndev.com/projects/palmld/wiki/HowToLED) the LED on the > > lifedrive consists of two diodes, a red and a green diode which can be > > combined to produce three colors: red green and yellow. > > > > I assume yellow is the color that the OS uses by default; is there any > > way to change this color from PalmOS userland? > > > > ~Ryan > > > > > > -- > > Thanks and best regards, > > Ryan Rix > > TamsPalm - The PalmOS Blog > > > > What do you want, some witty sig quote? signature.asc Description: This is a digitally signed message part.
Re: Changing Lifedrive LED color
both leds are easily available, BUT the battery charge controller also controls the LEDs, thus both led's states are the logical OR of the charge controller's wishes and yours. Furthermore both colors are used but the HDD driver (red for write, green for read, yellow for "other") Best Regards, Dmitry Grinberg (847) 226 9295 On Sun, Nov 9, 2008 at 5:19 PM, Ryan Rix <[EMAIL PROTECTED]> wrote: > Hi, > > According to the Hack&Dev Linux faq on the LD > (http://trac.hackndev.com/projects/palmld/wiki/HowToLED) the LED on the > lifedrive consists of two diodes, a red and a green diode which can be > combined to produce three colors: red green and yellow. > > I assume yellow is the color that the OS uses by default; is there any way to > change this color from PalmOS userland? > > ~Ryan > > > -- > Thanks and best regards, > Ryan Rix > TamsPalm - The PalmOS Blog > > What do you want, some witty sig quote? > > > > > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Expanding the scrollbar thumb beyond 50% ?
Bodo Wenzel wrote: > > [...] but it seems the longest > > thumb can only be half the scrollbar height, never 90 or 100%. > As the Notepad clearly shows, it is possible. > Did you double-check your code? At this point, I have no code yet, I just display the form resource. But you're right: the scroll car (aka thumb) size can go above 50%, it depends on the page size parameter. Thanks for pointing it out. The 100% value usually means the scrollbar must be hidden, but I can handle that, or extend the scrollbar to one more line. Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Re: Expanding the scrollbar thumb beyond 50% ?
> [...] but it seems the longest > thumb can only be half the scrollbar height, never 90 or 100%. As the Notepad clearly shows, it is possible. Did you double-check your code? Bodo -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
Expanding the scrollbar thumb beyond 50% ?
Can I use a 120-pixel vertical scrollbar as a slider-like indicator but where the thumb would always extend from the top down to a current value, in 12-pixel increments, from 12 to 120 (with some handling of the scrollbar values when receiving a scrollbar event)? I tried various initial values for the scrollar, but it seems the longest thumb can only be half the scrollbar height, never 90 or 100%. I'd like to avoid coding a gadget just for that. Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/