I have fixed the flickering with Alex Restrepo’s custom editfield but I see a a red line through the screen when I maximize the window. Do any of you get this problem and know how I can fix it? Does anybody have a bunch of his classes updated to the latest version of xojo. That would really help!
Be aware that IF you’re trying to write a text input client you’ll want to base it on our free TextInputCanvas so it works properly on Cocoa
Otherwise there are a lot of behaviors that you will never get and cannot make work
Like press & hold the E key - you get a nice little popover of alternatives
Can’t do that in your own code without the text input canvas
[quote=49930:@Norman Palardy]Be aware that IF you’re trying to write a text input client you’ll want to base it on our free TextInputCanvas so it works properly on Cocoa
Otherwise there are a lot of behaviors that you will never get and cannot make work
Like press & hold the E key - you get a nice little popover of alternatives
Can’t do that in your own code without the text input canvas[/quote]
Thanks. Do you think it would be okay to use Thomas Tempelmann’s link? Would it be easy to base this class off of the TextInputClass, if it is not already based on that.
[quote=49930:@Norman Palardy]Be aware that IF you’re trying to write a text input client you’ll want to base it on our free TextInputCanvas so it works properly on Cocoa
Otherwise there are a lot of behaviors that you will never get and cannot make work
Like press & hold the E key - you get a nice little popover of alternatives
Can’t do that in your own code without the text input canvas[/quote]
Also, I am able to use this on Windows?
[quote=49980:@Oliver Scott-Brown]Thanks. Do you think it would be okay to use Thomas Tempelmann’s link? Would it be easy to base this class off of the TextInputClass, if it is not already based on that.
[/quote]
No idea
[quote=49981:@Oliver Scott-Brown]Also, I am able to use this on Windows?
[/quote]
You can write your code once as the plugin does work on Windows & linux
However the press & hold behavior is unique to OS X
Alexis, normally a file ending in .sit or .sitx is a Stuffit archive so you will need Stuffit Expander which is available as a free download on the site the Stuffit.com for Mac and Windows.
Strangely, when I downloaded this custom editfield class from the mac.softpedia link above I got a .zip file so I’m wondering why you got a .sitx.