procedure TForm3.Edit1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin ShowMessage(Edit1.Text); end;This also won't work. Continuing...
Custom draw in NxEdit
#21
Posted 16 September 2016 - 04:44 PM
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#22
Posted 19 September 2016 - 07:51 AM
No problem. What exactly is it that you're trying to achieve?
#23
Posted 19 September 2016 - 04:33 PM
Check gif bellow to see what I have in working version. I would like to refine it yet, before bigger audience start using it.
What's my idea:
- OnValidate event. Always trigger.
- ValidateTriggers: When validation will trigger. You can also call Validate() method anytime.
- Latest: small Validator control (currently only 1 as you will see in video), but they can be attached to Validator property. It can even be a simple class, but only need to implement INxValidator interface.
https://dl.dropboxus...f/validator.gif
if Gif won't work, here is a video:
https://dl.dropboxus...f/validator.mp4
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#24
Posted 19 September 2016 - 10:05 PM
Hi,
Check gif bellow to see what I have in working version. I would like to refine it yet, before bigger audience start using it.
What's my idea:
- OnValidate event. Always trigger.
- ValidateTriggers: When validation will trigger. You can also call Validate() method anytime.
- Latest: small Validator control (currently only 1 as you will see in video), but they can be attached to Validator property. It can even be a simple class, but only need to implement INxValidator interface.
https://dl.dropboxus...f/validator.gif
if Gif won't work, here is a video:
https://dl.dropboxus...f/validator.mp4
That looks great. It's way more flexible than what I was imaging, can't wait to give it a try.
#25
Posted 19 September 2016 - 10:24 PM
Maybe you will have some suggestion to add since it's in early stage.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#26
Posted 20 September 2016 - 11:59 AM
I have upload changes.
Maybe you can try them. It's still may require some tests and suggestions are welcome.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#27
Posted 20 September 2016 - 05:12 PM
Hi,
I have upload changes.
Maybe you can try them. It's still may require some tests and suggestions are welcome.
Great. If I have time today, I will give it a try.
Thank you!
#28
Posted 20 September 2016 - 09:44 PM
Hi,
I have upload changes.
Maybe you can try them. It's still may require some tests and suggestions are welcome.
This is with Delphi 7.
I'm having the same problems I experienced when drawing the shape within the control. If I try to focus the control by clicking it does nothing. The only way I can enter the control is using tab but nothing is shown when I type. I can see things are typed when I highlight the text, but it's never visible.
See the attached video. I when I click it draws the circles where I click.
https://1drv.ms/v/s!...gHmCkhZBugo0AIh
#29
Posted 20 September 2016 - 09:59 PM
I didn't made tests yet in Delphi 7. Now will try to see what happens. Stay tuned.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#30
Posted 20 September 2016 - 10:04 PM
It seems to also work in D7. Can you send me short demo. It will help for sure.
Do you try to draw something additionally inside?
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#31
Posted 20 September 2016 - 11:13 PM
Hi,
It seems to also work in D7. Can you send me short demo. It will help for sure.
Do you try to draw something additionally inside?
No. I erased all of the files and only used the ones from the zip. I'll put together a test.
Edit: I removed everything again to make sure it didn't leave some remnant from before. After doing that it fixed the problem.
#32
Posted 20 September 2016 - 11:31 PM
I'd also like the same on NxMaskedEdit and NxMemo if possible.
#33
Posted 20 September 2016 - 11:32 PM
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#34
Posted 29 September 2016 - 06:54 PM
Validator, NxLenghtRange
Maybe should be NxLengthRange?
#35
Posted 30 September 2016 - 12:58 AM
I have changed it.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users