Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
10
Erster Beitrag:
vor 2 Jahren, 6 Monaten
Letzter Beitrag:
vor 2 Jahren, 6 Monaten
Beteiligte Autoren:
steve erts, Markus K., aelfassi, Aelfassi

TX Text Control - anyone got it working and can share tips?

Startbeitrag von steve erts am 28.07.2015 14: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

Antworten:

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.

von Aelfassi - am 28.07.2015 20:47
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.

von steve erts - am 28.07.2015 22:19
Has anyone implemented spellchecking with TX text Control? Tips?

von steve erts - am 06.08.2015 15:20
Hi,

i wanted to test TXTextcontrol but i am stuck a the very beginning:

I downloaded the 30days trial and installed it.

I created a new project with one window. I added an activex-control and set it to "TX - Text Control". Another activex-control is set to "TX - ButtonBar Control".

In the End of initialization part of the window i added
AX_Text>>ButtonBarHandle=AX_ButtonBar>>hWnd

When i run the window the following error appears:

Object used to access ButtonBarHandle member is not an Automation object.

What am i doing wrong?

Edit: If i understand aright the trial doesn't work with windev?

von Markus K. - am 09.08.2015 12:43
Hi Markus,

Does AX_ButtonBar already exist on the window?
Does it have th AX_ButtonBar name?

Please check these two conditions.

von aelfassi - am 09.08.2015 18:17
Hi,

i got a new test version from them, now it works.

Thanks

von Markus K. - am 10.08.2015 10:18
aelfassi,

Have you implemented spell checking? I'm stuck on that.

Thanks!

Steve

von steve erts - am 11.08.2015 15:32
Hi steve,

maybe this helps for spell checking (from french forum):

Link

There is a paragraph about spellchecking.

von Markus K. - am 11.08.2015 15:39
Quote
Markus K.
Hi steve,

maybe this helps for spell checking (from french forum):

Link

There is a paragraph about spellchecking.


Thanks!

von steve erts - am 11.08.2015 16:16
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.