Search found 17 matches

by glames
Wed Jan 08, 2020 4:37 pm
Forum: General Developer Support
Topic: ActivateGadget/GA_TabCycle bug ?
Replies: 0
Views: 1634

ActivateGadget/GA_TabCycle bug ?

Hi, I use a few string gadgets (StringGadget) that are all TAB enabled (GA_TabCycle, TRUE). I pre-select (IIntuition->ActivateGadget) the first one and it works but if I press the TAB key, it doesn't go to the next string field. If I click elsewhere then click the first string gadget. The TAB key th...
by glames
Sun May 27, 2018 9:33 am
Forum: General AmigaOS
Topic: Issue with IDOS->HexToLong
Replies: 2
Views: 1606

Re: Issue with IDOS->HexToLong

Hi Thomas,

You're right. Thank you. I was using %l :(

Have a nice day,
Glames
by glames
Sat May 26, 2018 5:04 pm
Forum: General AmigaOS
Topic: Issue with IDOS->HexToLong
Replies: 2
Views: 1606

Issue with IDOS->HexToLong

Hello, It seems that IDOS->HexToLong doesn't work always as it should. uint32 l_number; IDOS->HexToLong("0x880800",&l_number); => l_number is: 8 914 944 OK :) uint32 l_number; IDOS->HexToLong("0x88080000",&l_number); => l_number is: -2012741632 ? :( Was waiting for 2 282 225 664 As l_number is a uin...
by glames
Fri Oct 27, 2017 11:35 am
Forum: Forum Questions
Topic: LM_REMOVECHILD frees removed object ?
Replies: 3
Views: 5744

Re: LM_REMOVECHILD frees removed object ?

Hi Andy,

It seems that I didn't read the autodoc until it ;)

Thank you for your reply.

Cheers,
Glames
by glames
Thu Oct 26, 2017 3:09 pm
Forum: Forum Questions
Topic: LM_REMOVECHILD frees removed object ?
Replies: 3
Views: 5744

Re: LM_REMOVECHILD frees removed object ?

OK, I reply to myself.

The SDK example "dynamicexample" confirms that it disposes the object after removing it from the layout.

Maybe the auto doc should be modified?
by glames
Thu Oct 26, 2017 11:56 am
Forum: Forum Questions
Topic: LM_REMOVECHILD frees removed object ?
Replies: 3
Views: 5744

LM_REMOVECHILD frees removed object ?

Hi, I'd like ot know if LM_REMOVECHILD method frees the removed object ? From autodoc: LM_REMOVECHILD -- Remove object from active layout. I understand that it just removes the object from the layout but that it still lives. But if I dispose the object after having removed it from layout, it freezes...
by glames
Fri Jun 16, 2017 2:11 pm
Forum: General Developer Support
Topic: STRINGA_MarkActive
Replies: 10
Views: 5901

Re: STRINGA_MarkActive

Ah okay, I personally always end up having to click twice in that YAM gadget when fine tuning filers, as I'm likely correcting a typo and so don;t want the whole string markded :-) I would recomend sticking to the single activate, double click selected word, tripple click select all operation as ti...
by glames
Fri Jun 16, 2017 10:57 am
Forum: General Developer Support
Topic: STRINGA_MarkActive
Replies: 10
Views: 5901

Re: STRINGA_MarkActive

I updated the autodoc to more accurately reflect the current behaviour. (since 2009 or so) * STRINGA_MarkActive (BOOL) (V50) * Mark contents of gadget when it is made active. This * includes the use of ActivateGadget() and friends, * activating via keyboard short cut, and via tab cycling. * When th...
by glames
Fri Jun 16, 2017 10:48 am
Forum: General Developer Support
Topic: STRINGA_MarkActive
Replies: 10
Views: 5901

Re: STRINGA_MarkActive

broadblues wrote: Modify the example above to add a test string eg

with STRINGA_TextVal,"just a test",

you will see the gadget is marked on startup.

So it does work, but not it seams quite as you want it.
Yes, it works
by glames
Fri Jun 16, 2017 10:42 am
Forum: General Developer Support
Topic: STRINGA_MarkActive
Replies: 10
Views: 5901

Re: STRINGA_MarkActive

I'd simply want the content marked (ie; displayed in reverse-video, then when you press a (letter) key it deletes content and replace by this letter). It must be possible because that's how the Workbench rename window works (the window that appears when you select the Workbench menu 'Icons/Rename')...