PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → TX Text Control - anyone got it working and can share tips?
TX Text Control - anyone got it working and can share tips?
Débuté par steve erts, 28 juil. 2015 16:47 - 2 réponses
Posté le 28 juillet 2015 - 16:47
Hi!

I have been trying to text out TX Text Control ActiveX in Windev 19 and was wondering if anyone could provide some guidance. I got a full 30 day eval from them as they indicated that Windev does not work with their demo system but I am stuck at that point. I create an active x but am unsure of how to proceed. I can;t seem to get the text entry field and the toolbar hooked up and their method documentation is incredibly fragmented and hard to follow.

Any help from those who have already done this would be greatly appreciated.

Thanks

Steve
Posté le 28 juillet 2015 - 22:47
Hi Steve,

In the init of the window where you put the controls (ruler, content etc..)

paste these instructions knowing that your activex text control is AX_TxText etc ...

AX_TxText>>ButtonBarHandle = Ax_TXButtonBar>>hWnd
AX_TxText>>RulerHandle = AX_TxHorizontalRuler>>hWnd
//TXTextControl1.VerticalRulerHandle = TXRuler2.hWnd
AX_TxText>>StatusBarHandle = AX_TxStatusBar>>hWnd

Good luck.
Posté le 29 juillet 2015 - 00:19
Quote
Aelfassi

Hi Steve,



In the init of the window where you put the controls (ruler, content etc..)



paste these instructions knowing that your activex text control is AX_TxText etc ...



AX_TxText>>ButtonBarHandle = Ax_TXButtonBar>>hWnd

AX_TxText>>RulerHandle = AX_TxHorizontalRuler>>hWnd

//TXTextControl1.VerticalRulerHandle = TXRuler2.hWnd

AX_TxText>>StatusBarHandle = AX_TxStatusBar>>hWnd



Good luck.

Thanks! That's a big help.