popup trigger bounds changing

2008-05-29 Thread Ken Hejmanowski
Hi all, I am calling CtlSetLabel() to set the text of a popup trigger. It would appear that calling this function on a popup trigger resets the bounds of the trigger object. What is troubling about this is that the trigger object can then be resized to a width greater than what was originally

list id of popup trigger

2008-05-28 Thread Chris Yourch
Hi, I am retrieving the list id associated with a popup trigger and am wondering how portable the code is? It works fine on POSE using Palm OS v3.1 and v3.3. Thanks, Chris Chris Yourch RIA Group [EMAIL PROTECTED] Int16 GetPopupTriggersListId( UInt16 formID, UInt16

Re: list id of popup trigger

2008-05-28 Thread Chris Yourch
I am retrieving the list id associated with a popup trigger and am wondering how portable the code is? ... // I hope this is portable between OS versions! FormObjListType *frmObjs = pForm->objects; It isn't. This will work for now, but won't in future OS v

Re: Problem with Popup Trigger

2008-05-28 Thread Jeff Ayres
jag, if you just want to link a popuptrigger and list you don't need to handle the popup trigger events yourself. If you want, just let the SysHandleEvent( ) routine handle all the trigger events in your DoEvents Loop or your equivelent loop. -jeff At 07:57 PM 12/1/00 -0800, you wrote: &

Re: Problem with Popup Trigger

2008-05-28 Thread Dave Carrigan
"prasad" <[EMAIL PROTECTED]> writes: > boolean urformHandleEvet( ) > { > case popSelectEvent: > > > handled true; > break; > ... > . > return handled; > } In general, you do not want to set handled to true for popSelectE

programatically hitting a popup trigger

2008-05-28 Thread Jim Duffy
Hello, In my code, I am trying to hit a Popup Trigger to display its associated list using the CtlHitControl() function, however, when I do this, the list apears only briefly and then disapears. Does anyone know why this happens and how I can have it stay visible? Thank you, Jim

Re: Popup trigger extends beyond its set width

2007-10-03 Thread Michal Seliga
> Am I right thinking it's an OS bug that the popup trigger (or selector > trigger for that matter) extends itself beyond its allowed width as set in > the resource file? Oddly, the popup trigger does not do this with a regular > list (not drawn by a call back proc). i think

Re: Popup trigger extends beyond its set width

2007-10-03 Thread Luc Le Blanc
Michal Seliga wrote: >you have 2 possibilities >1. write your own gadget popup trigger control (i have it like >this, quite nicely enhanced compared to system one...tooltips etc.) >2. use FntCharsInWidth to find how long text will fit to trigger >bounds, cut text to make it fit, a

Re: Popup trigger extends beyond its set width

2007-10-03 Thread Michal Seliga
you have 2 possibilities 1. write your own gadget popup trigger control (i have it like this, quite nicely enhanced compared to system one...tooltips etc.) 2. use FntCharsInWidth to find how long text will fit to trigger bounds, cut text to make it fit, and use cut text with popup trigger not

Popup trigger extends beyond its set width

2007-10-03 Thread Luc Le Blanc
So far, my impression has been that selector triggers will grow as long as their text is, while popup triggers are more tamed, staying within their set width. But I hit a surprising result linking a popup trigger to a list drawn with a call back proc. In this case, when I receive a popSelectEvent

re: popup trigger was working then stopped after adding button

2007-09-12 Thread r r
I ended up putting in a ctlSelectEvent in to handle each popup trigger to show the list and set the popup triggers label. FYI Dean-O --- Philip Sheard <[EMAIL PROTECTED]> wrote: > > Perhaps because you now trap ctlSelectEvents and > return true if > the calling control is not

re: popup trigger was working then stopped after adding button

2007-09-12 Thread Philip Sheard
> Perhaps because you now trap ctlSelectEvents and return true if the calling control is not your button, thus cancelling the popup trigger action... That was what I was going to suggest. Check that your event handler is still returning False. -- For information on using the ACCESS Develo

re: popup trigger was working then stopped after adding button

2007-09-11 Thread Luc Le Blanc
and built this form with the > resource editor. > Do I have to add some popup trigger event handler to the > ctlevent handler? if so, how do I get the correct list > to pop up? Link your lists to their "parent" popup trigger and you don't need an event handler to see

popup trigger was working then stopped after adding button

2007-09-11 Thread DeanO
some popup trigger event handler to the ctlevent handler? if so, how do I get the correct list to pop up? It seemed to be just working on its own until I added the button to the form. Thanks in advance Dean-O -- For information on using the ACCESS Developer Forums, or to unsubscribe, please

Switching ID of list associated to popup trigger

2007-06-26 Thread Luc Le Blanc
Other than calling LstPopupList myself, is there a trick to dynamically change the ID of the list associated to a given popup trigger, as is initially done within the resource? BTW, where it this link ID stored? Not in the ControlType struct according to the API Ref. Luc Le Blanc -- For

re: Popup-trigger arrow not responding on T3 (must tap text)

2007-02-08 Thread Luc Le Blanc
I finally found it: a disabled context-dependent invisible button was causing the problem: even if controls disabled with CtlSetEnabled do not respond to the pen (the API referene says so at least), it seems this button was intercepting pen envents on the popup-rigger arrow underneath (or over?)

re: Popup-trigger arrow not responding on T3 (must tap text)

2007-01-14 Thread Luc Le Blanc
> u must uncheck usable property of list at set the ItemVisible > property of list to at list 2 My list is already set as unusable, with 7 visible items... Luc Le Blanc -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/

re: Popup-trigger arrow not responding on T3 (must tap text)

2007-01-10 Thread rupesh bhavsar
u must uncheck usable property of list at set the ItemVisible property of list to at list 2 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Popup-trigger arrow not responding on T3 (must tap text)

2007-01-01 Thread Luc Le Blanc
I have a popup-trigger located at 0, 15 (size 80, 12) in a non-modal full-screen form. On a T3, both in the Simulator and the real device, tapping on the drop-down arrow does not do anything (no ctlEnterEvent is received), I must tap on the text itself (the associated list is at 0, 15 too, and

re: popup trigger not working

2006-12-27 Thread Alexander R. Pruss
Have you tried using a Simulator with event tracking on so you can see what event gets emitted when you tap? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

popup trigger not working

2006-12-22 Thread V. Sriram
hi all, i created a popup trigger and a list object linked with the trigger. but the popup is not working. the procedure i followed was first create a popup trigger and then create a list object. uncheck the usable field of the list. the properties of the popup trigger shows the correct table

re: Popup Trigger in Palm Development Suite

2005-12-27 Thread Pavel Petrov
Hello. There is some bugs in Palm resource editor and it's not trivial to use these triggers. So I imlemented it in such a way: Delete all triggers and lists from form. Put trigger onto the form. Leave its ID without change. It's important, because it discards List ID when his ID changed. Next

Popup Trigger in Palm Development Suite

2005-12-20 Thread John Jenusaitis
I'm having a problem with something that appears should be rather simple. I'm creating a popup list, however cannot get the list to appear. I have a popup trigger and a list id associated with that list set to be unusable. My understanding is that the list should simply popu

Re: Popup trigger doesnot works on Palm m125 but not on Palm Zire

2005-12-09 Thread Anand Kale
We have been resolved the problem and clinched the deal .. thanks for people who mailed me separately Thx Andy On 12/7/05, Anand Kale <[EMAIL PROTECTED]> wrote: > Is there any patch for Zire ??? > > Andy > On 12/2/05, Anand Kale <[EMAIL PROTECTED]> wrote: > > Hi, > > > > We have developed an

Popup trigger doesnot works on Palm m125 but not on Palm Zire

2005-12-07 Thread Anand Kale
Is there any patch for Zire ??? Andy On 12/2/05, Anand Kale <[EMAIL PROTECTED]> wrote: > Hi, > > We have developed an application which uses various controls > including combobox. > > The problem is the popup doesnot show up on the Zire Model; but > works perfectly fine on > m125.. > >

Re: PopUp Trigger

2005-04-15 Thread Orasanu Iuliana
Solution found: again memory allocation. Char *label=(Char*)MemPtrNew(NoChars); StrCopy(label,CtlGetLabel(popTrig)); and it works just fine :) Regards, Iulia. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PopUp Trigger

2005-04-15 Thread Robert Moynihan
tions unintentionally. When you use the StrCopy command, you are writing a new string onto the old label location, but if the new string is longer than the ORIGINAL label was (probably set when you defined the popup trigger in your resource file) then you will overwrite the end of the original m

PopUp Trigger

2005-04-15 Thread Orasanu Iuliana
I found this code lines on the Palm os Programming Bible: ListType *list = GetObjectPtr(PopupList); ControlType *popTrig = GetObjectPtr(PopupTrigger); Char *label = CtlGetLabel(popTrig); StrCopy(label, LstGetSelectionText(list,LstGetSelection(list))); CtlSetLabel(popTrig, label); this is supose t

Re: popup trigger with drawings

2005-03-25 Thread Dave Johnson
You can just make the popup trigger a graphical control, and use CtlSetGraphics to change the bitmap. It works very well for me... A question for the experts: is there some reason NOT to do it this way? (Aside, of course, for requiring a version of the PalmOS that supports graphical controls

Re: popup trigger with drawings

2005-03-25 Thread Yuen Kwee
i think i know what the problem was. when i handled the popSelectEvent i entered the OnSelIcon() function. in this function i have m_trgIcon.SetLabel("__ many spaces not displayed in htlm __"); which sets the label longer. i thought i wanted it longer so that when i press on the icon i can po

Re: popup trigger with drawings

2005-03-25 Thread Logan Shaw
Yuen Kwee wrote: i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? I think the easiest way to handle this is to just forget about "real" popup triggers and

Re: popup trigger with drawings

2005-03-25 Thread Robert Moynihan
Yuen Kwee wrote: yup! you are right! it dissapears right after i tap on the popup trigger again... even with the list showing, the icon is not there. if i don't choose anything i list closes and the icon is permenatly missing To unsubscribe send an email to [EMAIL PROTECTED] I'm

Re: popup trigger with drawings

2005-03-25 Thread Yuen Kwee
yup! you are right! it dissapears right after i tap on the popup trigger again... even with the list showing, the icon is not there. if i don't choose anything i list closes and the icon is permenatly missing To unsubscribe send an email to [EMAIL PROTECTED] -- For information on usin

Re: popup trigger with drawings

2005-03-24 Thread Robert Moynihan
Yuen Kwee wrote: yup i know that this is the function that popSelectEvent does Boolean CCategoryForm::OnSelIcon(EventPtr pEvent, Boolean& bHandled) { Int16 trgX,trgY; bHandled = true; // <-- true! return true; } To unsubscribe send an email to [EMAIL PROTECTED] OK, and you are passi

Re: popup trigger with drawings

2005-03-24 Thread Yuen Kwee
yup i know that this is the function that popSelectEvent does Boolean CCategoryForm::OnSelIcon(EventPtr pEvent, Boolean& bHandled) { Int16 trgX,trgY; m_trgIcon.GetObjectPosition(trgX,trgY); RectangleType rect; rect.topLeft.x = trgX+12; rect.topLeft.y = trgY+1; rect.extent.x = 10; rect.exte

Re: popup trigger with drawings

2005-03-24 Thread Robert Moynihan
Yuen Kwee wrote: hi every 1! i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? i tried many ways but none seem to work. until i found the popSelectEvent, when

popup trigger with drawings

2005-03-24 Thread Yuen Kwee
hi every 1! i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? i tried many ways but none seem to work. until i found the popSelectEvent, when this happens i get

text color on a popup trigger label

2005-03-06 Thread Roel Wijmans
Is it possible to change the text color of a label on a popup trigger? I've tried using WinSetTextColorRGB to white, but that doesn't seem to have any effect on CtlSetLabel function. Can anyone point me in the right direction? Thanks Roel -- For information on using the Palm Develo

Re: empty popup trigger

2005-02-21 Thread Henk Jonas
Eric Potter wrote: Henk Jonas wrote: Eric Potter wrote: In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've neve

Re: empty popup trigger

2005-02-21 Thread Eric Potter
Henk Jonas wrote: Eric Potter wrote: In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've never see the problem i

Re: empty popup trigger

2005-02-21 Thread Henk Jonas
Eric Potter wrote: In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've never see the problem in the simulator

empty popup trigger

2005-02-21 Thread Eric Potter
In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've never see the problem in the simulator. The problem only ha

Different appearance of popup trigger label on ctlEnterEvent for different PalmOS versions?

2005-02-01 Thread Goran Todorovic
Hi all, I have a popup trigger + list at a form. When I test (both Emulator + devices) for v3.3 or v3.5 everything works perfect: If I press AND HOLD popup trigger (i.e. at ctlEnterEvent) its label is inverted; when I release the trigger, ctlSelectEvent is issued, the list appears, etc... By

Re: baffled with Popup Trigger ID and Resource Editor

2005-01-18 Thread Curtis Cameron
something like this: 1003 1004 These three were all just extra, separated from the popup trigger sections (which were followed by valid FORM_POPUP sections), and containing bogus List IDs. Deleting those three fixed my problem. -- Curtis Cameron -- For information on using the Palm Developer

RE: baffled with Popup Trigger ID and Resource Editor

2005-01-18 Thread Ray Heindl
"Eric Cloninger" <[EMAIL PROTECTED]> wrote: > Huy uncovered a bug in RE that I'll mention here so that the > solution is there when others encounter it. > > The bug occurs when copying and pasting an entire resource that > contains a popup trigger (Ray, thi

RE: baffled with Popup Trigger ID and Resource Editor

2005-01-16 Thread Eric Cloninger
Huy uncovered a bug in RE that I'll mention here so that the solution is there when others encounter it. The bug occurs when copying and pasting an entire resource that contains a popup trigger (Ray, this is probably what happened to you). While RE will renumber regular form objects,

Re: baffled with Popup Trigger ID and Resource Editor

2005-01-15 Thread Ray Heindl
Curtis Cameron <[EMAIL PROTECTED]> wrote: > I do still have a problem, though. One list that pops up requires > you to click the item twice before the list disappears. I have two > other triggers and lists on the same form, but those work > normally. The form is modal, done with a simple FrmDoDial

RE: baffled with Popup Trigger ID and Resource Editor

2005-01-14 Thread Eric Cloninger
Friday, January 14, 2005 9:42 PM > To: Palm Developer Forum > Subject: baffled with Popup Trigger ID and Resource Editor > > I've tried searching around as well as spending a good bit of > today trying to figure out why I'm having such problems. > > I'm using Pa

Re: baffled with Popup Trigger ID and Resource Editor

2005-01-14 Thread Curtis Cameron
On 1/14/2005 9:41 PM Huy Cat wrote: I'm using Palm OS Resource Editor 6.2.0.6 and I'm having problem getting the Resource Editor (RE) to accept a popup trigger link to a certain list box resource ID. I came across the same problem. I ended up deleting both the trigger and the list, t

baffled with Popup Trigger ID and Resource Editor

2005-01-14 Thread Huy Cat
I've tried searching around as well as spending a good bit of today trying to figure out why I'm having such problems. I'm using Palm OS Resource Editor 6.2.0.6 and I'm having problem getting the Resource Editor (RE) to accept a popup trigger link to a certain list box r

build popup trigger in table

2005-01-09 Thread mguo
I am building a table which has one column of popupTriggetTableStyle. When user tap on the popup trigger, it will show a list whose contents are dynamically populated at run-time, and the list contents are different for different rows. How can I do that? Where should I setup the callback

Re: popup trigger list height exceeds form height

2004-12-28 Thread Ben Combee
At 02:57 AM 12/28/2004, you wrote: Hi, My problem may be trivial, but I m stuck in this. I have created a popup trigger, with an associated list. The visibleitems property of the list is set to 30, which exceeds the screen size. In this case, when the pop trigger is clicked, all the list is not

popup trigger list height exceeds form height

2004-12-27 Thread Ashutosh Kumar
Hi, My problem may be trivial, but I m stuck in this. I have created a popup trigger, with an associated list. The visibleitems property of the list is set to 30, which exceeds the screen size. In this case, when the pop trigger is clicked, all the list is not visible, nor the remaining part of

re: CategorySelect and blank popup trigger

2004-11-13 Thread Stephen Klein
Chuck, Was the popup trigger resource defined with a label that's at least 15 characters long? I think the CategorySelect call writes the newly selected string not only into the buffer that you provide but also into the label of the popup trigger (so the resource's definition of

CategorySelect and blank popup trigger

2004-11-11 Thread Chuck McKinnon
Hi all, I've searched the archives both here and on the newsgroups, and can't find anything specific to this problem, which is that selecting a category more than once will blank the popup trigger. I have a popup trigger and a list that I pass to CategorySelect. I've defined

Re: Popup trigger and associated list problem

2004-10-19 Thread Robert Moynihan
for a list that is associated with a popup trigger. Essentially what I have on the screen looks like following: Number of stories: When I make a manual selection in the list by pushing the the selection shows up right next to it. I.e.: Number of stories: 3 When the app starts I would like

Popup trigger and associated list problem

2004-10-19 Thread Mario Hewardt
I've been trying to set the default value for a list that is associated with a popup trigger. Essentially what I have on the screen looks like following: Number of stories: When I make a manual selection in the list by pushing the the selection shows up right next to it. I.e.: Numb

Re: Popup trigger arrow substitution

2004-06-02 Thread Luc Le Blanc
[EMAIL PROTECTED] a écrit : > Hello, I need to make a control made as a popup trigger (so that it shows a list) > but with a different bitmap on the left: I would use a normal popup trigger with > another bitmap. Is it possible or must I implement a gadget? Or are there other >

Popup trigger arrow substitution

2004-05-27 Thread cristian . brunelli
Hello, I need to make a control made as a popup trigger (so that it shows a list) but with a different bitmap on the left: I would use a normal popup trigger with another bitmap. Is it possible or must I implement a gadget? Or are there other simpler ways? I've been thinking about show

Re: popup trigger

2004-04-27 Thread Ben Combee
At 11:21 AM 4/27/2004, you wrote: I found the problem. if I call CtlSetUsable and pass a form control and false, my application fails in Palm OS 3.x and 4.x. To fix the problem I stopped calling CtlSetUsable. I was diabling the form will I read records from a pdb file. Use FrmHideObject and FrmSh

Re: popup trigger

2004-04-27 Thread Bob
I found the problem. if I call CtlSetUsable and pass a form control and false, my application fails in Palm OS 3.x and 4.x. To fix the problem I stopped calling CtlSetUsable. I was diabling the form will I read records from a pdb file. [snip] -- For information on using the Palm Developer Fo

Re: popup trigger

2004-04-27 Thread Dave Lippincott
att Graham" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, April 26, 2004 5:08 PM Subject: Re: popup trigger > Bob wrote: > > I am sorry, the popup trigger only works in Palm OS 5.x. > > Wher

Re: popup trigger

2004-04-26 Thread Matt Graham
Bob wrote: I am sorry, the popup trigger only works in Palm OS 5.x. Where'd you see that? You said yourself it works in 4.x. Popup triggers should work in 3.x. Is probably something else that's not working. "Bob" <[EMAIL PROTECTED]> wrote in message news:[EMAIL P

Re: popup trigger

2004-04-26 Thread Bob
I am sorry, the popup trigger only works in Palm OS 5.x. "Bob" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My popup trigger works fine in Palm OS V4.X and 5.X, but it crashes the Palm > OS 3.X. I am using the Palm developer tools. Any idea w

popup trigger

2004-04-26 Thread Bob
My popup trigger works fine in Palm OS V4.X and 5.X, but it crashes the Palm OS 3.X. I am using the Palm developer tools. Any idea what I am doing wrong? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Popup Trigger text (memory leak)

2004-04-23 Thread Matt Graham
Morten Schmidt wrote: Why does this make a 1 memory leak in PalmOS 4.12 but not in 5? It probably leaks in 5, but it's just not being reported the same. void SetTriggerText(UInt16 ownerForm, UInt16 trigger, char *text) { MemHandle h; Char *dest; if( text == NULL ) text = "";

Re: Popup Trigger text (memory leak)

2004-04-23 Thread Morten Schmidt
Hmmm, no locking needed void SetTriggerText(UInt16 ownerForm, UInt16 trigger, char *text) { if( text == NULL ) text = ""; CtlSetLabel(GetObjectPtr(ownerForm, trigger), text); } Works... sorry for the bother Morten Schmidt wrote: Why does this make a 1 memory le

Popup Trigger text (memory leak)

2004-04-23 Thread Morten Schmidt
Why does this make a 1 memory leak in PalmOS 4.12 but not in 5? void SetTriggerText(UInt16 ownerForm, UInt16 trigger, char *text) { MemHandle h; Char *dest; if( text == NULL ) text = ""; h = MemHandleNew( StrLen( text ) + 1 ); dest = MemHandl

RE: Handling a popup trigger and list dynamically

2004-04-17 Thread Jeff Leal
Yep, you were right! Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17 April 2004 20:31 To: Palm Developer Forum Subject: RE: Handling a popup trigger and list dynamically You may be inadvertently handling the

RE: Handling a popup trigger and list dynamically

2004-04-17 Thread rgraber
trigger and list dynamically Hi, I have made a popup trigger and associated it with a list in Constructor. However, I cant figure out how to make this list show when I press the trigger. Cheers Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

Handling a popup trigger and list dynamically

2004-04-17 Thread Jeff Leal
Hi, I have made a popup trigger and associated it with a list in Constructor. However, I cant figure out how to make this list show when I press the trigger. Cheers Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: Popup trigger

2004-04-14 Thread Matt Graham
Chris Apers wrote: When we create a popup trigger with constructor, we can specify a list ID. Is is possible to retreive this list ID and/or set a new list ID programatically ? I don't know of anything exactly like that. But you can pretty easily simulate it using LstPopupList

Popup trigger

2004-04-14 Thread Chris Apers
HI, When we create a popup trigger with constructor, we can specify a list ID. Is is possible to retreive this list ID and/or set a new list ID programatically ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: single pixel popup trigger selection??

2004-02-23 Thread Stuart A. Malone
You may be running into a stacking (Z-order) problem with the objects on your form. Is there another object that overlaps the coordinates of the popup trigger? I believe that the Z-order of form objects changed between Palm OS 3.x and 4.x. --Stuart A. Malone Llamagraphics, Inc. DCurry

single pixel popup trigger selection??

2004-02-23 Thread DCurry
I have a fully working app that works great using the Palm Emulator with OS 4.1. However, in the Emulator with OS 3.5.3, or on a real IIIxe w/ 3.5.3., popup triggers don't pop up their associated list unless the user clicks on what seems to be one tiny little pixel on the lower left part of the tr

Re: Setting displayed value o popup-trigger list on form-open

2004-01-23 Thread Brian Smith
On Fri, 23 Jan 2004, Jim White wrote: > My question involves pull-down (popup-trigger) lists. How can I (when > entering a screen) display one of the list selections as a > variable-default value (i.e., have it check a global variable and > display the item corresponding to the va

Setting displayed value o popup-trigger list on form-open

2004-01-23 Thread Jim White
My question involves pull-down (popup-trigger) lists. How can I (when entering a screen) display one of the list selections as a variable-default value (i.e., have it check a global variable and display the item corresponding to the variable) when the screen is first painted? I have tried tying

Popup trigger and memory problem (fwd)

2004-01-04 Thread Patryk M. Simon
Dear members, I am new to Palm OS and software development. I have been working on a small project and I am having some problems. I decided to ask you for your advice. My project needs to use dates, and I found a useful source code on the palm website at http://www.palmos.com/dev/support/docs/

Re: Scroll bar for selector trigger / popup trigger

2003-11-11 Thread jack
> height. > > markus dresch (www.palmside.com) > > > "jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EMAIL PROTECTED] > > Hi all, > > > > do anyone knows whether the selector trigger or popup trigger can have a > > scroll bar or n

Re: Scroll bar for selector trigger / popup trigger

2003-11-11 Thread Markus Dresch
; do anyone knows whether the selector trigger or popup trigger can have a > scroll bar or not? > if no , > what can i do if my popup list is too long ? > > thanks for your help . > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Scroll bar for selector trigger / popup trigger

2003-11-11 Thread jack
Hi all, do anyone knows whether the selector trigger or popup trigger can have a scroll bar or not? if no , what can i do if my popup list is too long ? thanks for your help . -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: popup trigger

2003-10-29 Thread Mike Margerum
Alexander Galkin wrote: I need urgent help in creating drop-down trigger. I believe it is analogous to Windows combo boxes. Could someone tell me step-by-step how to create it and handle selection notification. Basically, I need to create the trigger with predefined set of strings and handle notif

popup trigger

2003-10-29 Thread Alexander Galkin
I need urgent help in creating drop-down trigger. I believe it is analogous to Windows combo boxes. Could someone tell me step-by-step how to create it and handle selection notification. Basically, I need to create the trigger with predefined set of strings and handle notification after new selecti

popup trigger problems

2003-10-23 Thread Harl Clifford Duffey IV
For some reason I get a Fatal Exception when I click the popup trigger. I dont think it has to do with the list it is grouped with, but Im not sure.. I click the popup trigger, the list is displayed and a Fatal Error immediately occurs after that.. -Cliff -Harl

Trunc String on the Popup Trigger

2003-08-18 Thread Régis Daniel de Oliveira
Hy all! How can i truncate a string that appear on my trigger control? Whe i click on the trigger, the list show the itens truncated, but, when a select a truncated item, it doesn't appear truncated on the trigger. Thanks any information. Régis Daniel de Oliveira -- For information on usin

List and Popup Trigger simple question

2003-02-26 Thread Gilles Petit
Hi all, I got a little problem with a list linked to a popup trigger. Actually, they allow me to choose between "1" or "2". But I wanna do the following thing : If it is the first time : display "choose" as text in the popup. If the user choose say "1" a

Re: POPUP TRIGGER PROBLEM

2002-10-24 Thread Mario Manente
Have you any examples for me thanks "Ben Combee" <[EMAIL PROTECTED]> ha scritto nel messaggio news:99156@;palm-dev-forum... > > At 11:16 2002-10-24 +0200, you wrote: > >I did a program make with CodeWarrior 7.0 (C Language) which uses some lists > >linked t

Re: POPUP TRIGGER PROBLEM

2002-10-24 Thread Ben Combee
At 11:16 2002-10-24 +0200, you wrote: I did a program make with CodeWarrior 7.0 (C Language) which uses some lists linked to the popup trigger. All the datas which fill in the menus are inside some databases. This program works properly with a palm with palm OS 3.1, but when I installed the

POPUP TRIGGER PROBLEM

2002-10-24 Thread Mario Manente
I did a program make with CodeWarrior 7.0 (C Language) which uses some lists linked to the popup trigger. All the datas which fill in the menus are inside some databases. This program works properly with a palm with palm OS 3.1, but when I installed the program in a palm with palm OS 3.5

Re: popup trigger ID to list ID

2002-10-17 Thread JB Parrett
ent->popSelect.data.listID == kMyListID) ... etc. } } JB @ PalmSource on 10/17/02 10:16 AM, Thomas Maeder at [EMAIL PROTECTED] wrote: > Chris Yourch wrote: >> >> Is there a way to determine the list id that a popup trigger control >> uses without accessing a s

Re: popup trigger ID to list ID

2002-10-17 Thread Thomas Maeder
Chris Yourch wrote: > > Is there a way to determine the list id that a popup trigger control > uses without accessing a struct members? I don't know of any. This is one the cases where the SDK docs tell you to use functions but the SDK doesn't provide any. > In other wo

popup trigger ID to list ID

2002-08-28 Thread Chris Yourch
Hi, Is there a way to determine the list id that a popup trigger control uses without accessing a struct members? In other words make the following code ARM portable: Int16 FindListId(Int16 triggerID) { Int16 listID = -1; Int16 numObjects = FrmGetNumberOfObjects(formP); FormObjListType

popup trigger in table

2002-04-26 Thread bill
Does anyone know how to set a popup trigger in a table to left anchor?? thanx bill -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Popup Trigger

2002-03-26 Thread Steve Mann
>So either my code is bad - or there is a better way of doing this From the reference manual: "if you use CtlSetLabel, you must manage the string yourself. You must ensure that it persists for as long as it is being displayed (that is, for as long as the control is displayed or until you call C

Popup Trigger

2002-03-26 Thread Ed Ross
I searched through the knowledge base and I can't seem to find anything related to what I want to do - I have found things close however. I have a popup trigger associated with a list that was created at design time. When the form loads, I want the trigger to set its item to the value

Re: dynamic popup trigger

2002-03-25 Thread Sajul P. Nandakumar
Popup is pressed. Cheers Sajul. Ellen Dash wrote: > Just to clarify, I am dynamically creating the popup trigger with > CtlNewControl. I haven't found a way to associate the list when it is > done this way. Any ideas? > > Thanks, > Ellen -- For information on u

RE: dynamic popup trigger

2002-03-25 Thread Avilla, Dane
You shouldn't have to do anything manually to make a popup trigger with a list . . . if using CW, simple create a popup trigger, and then a list, and make sure to add the list's ID to the popup trigger. The OS will take care of catching the penDownEvent/ctlSelectEvent on the popup t

dynamic popup trigger

2002-03-25 Thread Ellen Dash
Hi, I am trying to dynamically create a popup trigger, but don't see any kind of API for setting the listid in the popup. Has anyone had success doing this? Thanks, Ellen _ Chat with friends online, try MSN Messenger:

Re: Popup Trigger and Up/Down hard key

2002-03-15 Thread Joe
--- Christophe HOCMAN wrote: > I'd like to change the selected (and displayed) item in a popup > trigger. Use LstSetSelection() to change the selected list item and use CtlSetLabel() to change the popup trigger label. __ Do You Ya

Popup Trigger and Up/Down hard key

2002-03-15 Thread Christophe HOCMAN
Hello. I'd like to change the selected (and displayed) item in a popup trigger. I've created a popup trigger and linked it to a list (that contains several static items). I'd like the selection to evolute when up and down hard keys are used even if the trigger haven't

  1   2   >