Page 3 of 5

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 2:35 pm
by Cyllceaux
Error on Line 134: ModuleEx::#EventType_LostFocus not found

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 3:21 pm
by Thorsten1867
Fixed: "Exception error in brain memory" :wink:

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 3:52 pm
by Cyllceaux
Line 72: ModuleEx ;-) File not found

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 4:17 pm
by Thorsten1867
Fixed (see above)

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 5:18 pm
by Cyllceaux
#EventType_Change not triggered, when I clear the Text

Re: [Module] StringEx (all OS)

Posted: Sun Nov 17, 2019 5:45 pm
by Thorsten1867
Fixed

I hope I've caught all the events.

Re: [Module] StringEx (all OS)

Posted: Wed Nov 20, 2019 9:49 am
by Cyllceaux
yes... worked great :)


How can I disable the gadget? If I use "DisableGadget" it still looks clickable.

Re: [Module] StringEx (all OS)

Posted: Wed Nov 20, 2019 3:22 pm
by Thorsten1867
Update: StringEx::Disable()

Re: [Module] StringEx (all OS)

Posted: Fri Nov 22, 2019 9:04 am
by Cyllceaux
8)

Code: Select all

Define spnAufgabeProzent=StringEx::Gadget(#PB_Any,10,10,75,20,"0",StringEx::#Numeric|StringEx::#Center,windowMain)
StringEx::SetAttribute(spnAufgabeProzent,StringEx::#MaximumLength,3)
When I doubleclick into the field, it marks the text in the left, but write in the center

Re: [Module] StringEx (all OS)

Posted: Fri Nov 22, 2019 3:04 pm
by Thorsten1867
Fixed

Re: [Module] StringEx (all OS)

Posted: Sun Nov 24, 2019 1:38 pm
by Thorsten1867
Update: StringEx::SetInputMask()

Examples:
  • Date: "____/__/__/" or "__.__.____"
  • Time: "__:__:__"
  • License number: "___-___-___"
  • Money: "*.__$"

Re: [Module] StringEx (all OS)

Posted: Mon Nov 25, 2019 12:58 pm
by Cyllceaux
Really nice :)

but...

Code: Select all

strBuchungBetrag=StringEx::Gadget(#PB_Any,x,y,100,#BUTTON_HEIGHT,"",StringEx::#Numeric|StringEx::#Right,windowMain)
StringEx::SetInputMask(strBuchungBetrag,"*,__ €")
If I use #Right, it does not work anymore.

Re: [Module] StringEx (all OS)

Posted: Mon Nov 25, 2019 3:40 pm
by Thorsten1867
Bugfix: Cursor position (#Center/#Right)

Re: [Module] StringEx (all OS)

Posted: Thu Dec 05, 2019 10:11 pm
by davido
@Thorsten1867,
Is it possible for an empty StringEx to have a dimmed text prompt?
Many applications seem to have this facility; a typical example is the search string-box in Wikipedia.

Re: [Module] StringEx (all OS)

Posted: Fri Dec 06, 2019 6:54 am
by ozzie
davido wrote:@Thorsten1867,
Is it possible to for an empty StringEx to have a dimmed text prompt?
Many applications seem to have this facility; a typical example is the search string-box in Wikipedia.
+1