PureBasic Forum
http://forums.purebasic.com/english/

[Module] StringEx (all OS)
http://forums.purebasic.com/english/viewtopic.php?f=27&t=72534
Page 3 of 4

Author:  Cyllceaux [ Sun Nov 17, 2019 2:35 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Error on Line 134: ModuleEx::#EventType_LostFocus not found

Author:  Thorsten1867 [ Sun Nov 17, 2019 3:21 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Fixed: "Exception error in brain memory" :wink:

Author:  Cyllceaux [ Sun Nov 17, 2019 3:52 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Line 72: ModuleEx ;-) File not found

Author:  Thorsten1867 [ Sun Nov 17, 2019 4:17 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Fixed (see above)

Author:  Cyllceaux [ Sun Nov 17, 2019 5:18 pm ]
Post subject:  Re: [Module] StringEx (all OS)

#EventType_Change not triggered, when I clear the Text

Author:  Thorsten1867 [ Sun Nov 17, 2019 5:45 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Fixed

I hope I've caught all the events.

Author:  Cyllceaux [ Wed Nov 20, 2019 9:49 am ]
Post subject:  Re: [Module] StringEx (all OS)

yes... worked great :)


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

Author:  Thorsten1867 [ Wed Nov 20, 2019 3:22 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Update: StringEx::Disable()

Author:  Cyllceaux [ Fri Nov 22, 2019 9:04 am ]
Post subject:  Re: [Module] StringEx (all OS)

8)

Code:
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

Author:  Thorsten1867 [ Fri Nov 22, 2019 3:04 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Fixed

Author:  Thorsten1867 [ Sun Nov 24, 2019 1:38 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Update: StringEx::SetInputMask()

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

Author:  Cyllceaux [ Mon Nov 25, 2019 12:58 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Really nice :)

but...
Code:
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.

Author:  Thorsten1867 [ Mon Nov 25, 2019 3:40 pm ]
Post subject:  Re: [Module] StringEx (all OS)

Bugfix: Cursor position (#Center/#Right)

Author:  davido [ Thu Dec 05, 2019 10:11 pm ]
Post subject:  Re: [Module] StringEx (all OS)

@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.

Author:  ozzie [ Fri Dec 06, 2019 6:54 am ]
Post subject:  Re: [Module] StringEx (all OS)

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

Page 3 of 4 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/