Skip to search.
libertybasic · The Official Liberty BASIC Support Group

Group Information

  • Members: 3660
  • Founded: Jan 12, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
help on how to limiting the typing area of a texteditor box   Message List  
Reply Message #25061 of 45106 |
AW: [libertybasic] help on how to limiting the typing area of a texteditor box

Janet,
a widget is a custom control, with its own event handlers and styles.
The reason, standard API functions and styles are not working with it, is that
it is not standard.
The windows API knows nothing about the LB texteditor and how to comunicate
with it.
LB itself, precisly Smalltalk, is handling all things related to the
texteditor.

The texteditor may consist of standard Windows controls, but they are so
havily tweaked, that Windows can't handle them any more.

Any custom widget can only be controled by the application which created it.

---
Stefan Pendl


> -----Ursprüngliche Nachricht-----
> Von: JanetTerra
>
> Texteditors are not always responsive to API calls and Stylebits.
> It's because they're 'widgets.' Now I don't really know what
> a 'widget' is, but that's what the LB Help File calls texteditors. I
> think what you're really saying is that you want word wrap. That's
> pretty easy, IF you don't care that your user won't be able to start
> a new line by pressing ENTER. You cannot just switch from a textbox
> to a texteditor, though, as the stylebits commands just won't work
> the same. See if this will work. Watch for line wraps, especially
> with the stylebits command.




Fri Mar 4, 2005 12:16 am

pendl2megabit
Offline Offline
Send Email Send Email

Message #25061 of 45106 |
Expand Messages Author Sort by Date

All, I'm doing an screen entry form and have not been able to figure out how to limit someone just to ## number of characters to the right. I was wondering if...
gilke04 Offline Send Email Feb 26, 2005
3:32 am

... I ... number ... Do you mean you want to format to the right of decimal point? 'Start Code Textbox #w.tbx1, 50, 50, 100, 24 Button #w.bttn1, "ACCEPT",...
JanetTerra Offline Send Email Feb 26, 2005
6:32 am

Janet, Bear with me - just on novice here. I'm working with TextEditor boxes and where you can just type in a single line and it would go forever. I just want...
gilke04 Offline Send Email Feb 27, 2005
7:18 pm

... boxes ... forever. ... Texteditors are not always responsive to API calls and Stylebits. It's because they're 'widgets.' Now I don't really know what a...
JanetTerra Offline Send Email Feb 28, 2005
12:12 am

Janet, a widget is a custom control, with its own event handlers and styles. The reason, standard API functions and styles are not working with it, is that it...
pendl2megabit Offline Send Email Mar 4, 2005
12:17 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help