Hello Thomas,
Is there an option for word wrapping in the edit control in VIP?
If not, could you implement this in VIP?
In https://learn.microsoft.com/en-us/windo ... t-controls,
it is mentioned as a callback function for an application programme.
Kind regards,
Ben
-
Harrison Pratt
- VIP Member
- Posts: 463
- Joined: 5 Nov 2000 0:01
Re: wordwrap in editControl possible?
It looks like word wrapping is implemented in the sciLexer control.
See sciLexerBase.i
See sciLexerBase.i
Code: Select all
properties
wrapMode : integer.
% Set wrapMode to (sciLexer_native::sc_wrap_*):
% sc_wrap_none (0) to disable line wrapping,
% sc_wrap_word (1) to enable wrapping on word or style boundaries
% sc_wrap_char (2) to enable wrapping between any characters, and
% sc_wrap_whitespace (3) to enable wrapping on whitespace.
% sc_wrap_char is preferred for Asian languages where there is no white space between words.-
B.Hooijenga
- VIP Member
- Posts: 62
- Joined: 11 Jul 2002 23:01
Re: wordwrap in editControl possible?
Harrison,
Thank you. I was aware of that.
But my question is explicitly about the editControl.
Kind greetings,
Ben
Thank you. I was aware of that.
But my question is explicitly about the editControl.
Kind greetings,
Ben
-
Thomas Linder Puls
- VIP Member
- Posts: 1479
- Joined: 28 Feb 2000 0:01
Re: wordwrap in editControl possible?
Try disabling the auto h-scroll:
Code: Select all
predicates
setAutoHScroll : (boolean AutoHScrollIsSet = true) [generatedInitializeBeforeShow].
% @short Specifies whether the edit control automatically scrolls its
% text to the right when the user types a character.
% @exception gui_exception::unableToSetPropertyAfterShow_exception
% @endRegards Thomas Linder Puls
PDC
PDC
