![]() |
Hint Text |
Post Reply ![]() |
Author | |
ScottW ![]() Groupie ![]() Joined: 02 August 2005 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() Posted: 30 April 2015 at 1:16pm |
Is it possible to show Hint Text in the FlatEdit control when no user data exists? Kind of like how the Search box in FireFox shows the word "Search" in grey until you start typing something in there.
If not, please consider this for a future update. It would be cool to have a .HintText property for this. Could be useful in the ComboxBox as well. Thanks |
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 680 |
![]() ![]() ![]() ![]() ![]() |
I believe that it is derived from CEdit, and therefore you should be able to call: CEdit::GetCueBanner.
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
ScottW ![]() Groupie ![]() Joined: 02 August 2005 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
Can it be done in the ActiveX edition?
|
|
![]() |
|
cpede ![]() Senior Member ![]() Joined: 13 August 2004 Location: Denmark Status: Offline Points: 680 |
![]() ![]() ![]() ![]() ![]() |
Oh, sorry did not see that it was in the ActiceX section. If you can send a standard windows message to the control you can send EM_SETCUEBANNER ?
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
gibra ![]() Senior Member ![]() Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
![]() ![]() ![]() ![]() ![]() |
Something like this: ![]() ![]() (images refer to C#, not to VB6) VB6 come with usefull add-in named: Wizard ActiveX Control Interface Some examples: Creating a Simple User Control with Visual Basic http://www.codeguru.com/columns/vb/creating-a-simple-user-control-with-visual-basic.htm Create Own User Control - Basic Steps. - Visual Basic Tutorials http://www.dreamincode.net/forums/topic/134432-create-own-user-control-basic-steps/ |
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
![]() |
|
ScottW ![]() Groupie ![]() Joined: 02 August 2005 Status: Offline Points: 82 |
![]() ![]() ![]() ![]() ![]() |
SendMessage with EM_SETCUEBANNER worked fine. Thanks!
|
|
![]() |
|
gibra ![]() Senior Member ![]() Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
![]() ![]() ![]() ![]() ![]() |
Can you show the complete solution? Thank.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |