Page 1 of 1

Gets and languages

Posted: Mon Dec 04, 2006 10:14 am
by Dietmar Jahnel
In this sample when I right click for the copy/paste menu I get it
- in german (one line get)
- in english (multiline get)
why? how can I cange to german?
Thanks,
Dietmar



#include "Fivewin.ch"

FUNCTION MAIN()


DEFINE DIALOG copyDlg FROM 10, 20 TO 35, 90 TITLE "RIDA-Indexdokument kopierbar"

copyText = "Memo "

@0.5, 0.5 GET copyText of copyDlg;

@2, 2 GET copyText of copyDlg;
MEMO;
SIZE 100, 100;
READONLY;

@ 9.5, 20 BUTTON "&Beenden" OF copyDlg SIZE 40, 12;
ACTION ( copyDlg:End(), lOk := .t. ) DEFAULT


ACTIVATE DIALOG copyDlg CENTERED

RETURN NIL

Posted: Mon Dec 04, 2006 10:29 am
by Taiwan
Hello Dietmar,

Check your TGet and MGet source code for Right click.

Regards,

Richard

Posted: Mon Dec 04, 2006 10:59 am
by Dietmar Jahnel
That' what I did.

I couldn't find anything in these two classes.
I figured the code must be somewhere else - that's why I don't understand the difference in languages.

Dietmar

Posted: Mon Dec 04, 2006 11:07 am
by Taiwan
Check this in your source\CLASS

Code: Select all

METHOD RButtonDown( nRow, nCol, nFlags ) CLASS TGet
METHOD RButtonDown( nRow, nCol, nFlags ) CLASS TMultiGet
Richard

Posted: Mon Dec 04, 2006 11:14 am
by Dietmar Jahnel
Your are right:

tGet invokes the default popup menu,
mGet has its own in english.

Thanks!
Diemtar

Posted: Tue Dec 05, 2006 2:00 am
by Taiwan
Dietmar Jahnel wrote:Your are right:

tGet invokes the default popup menu,
mGet has its own in english.

Thanks!
Diemtar
You're welcome. :D

Richard

Re: Gets and languages

Posted: Tue Mar 30, 2010 2:38 pm
by Horizon
Thanks for info.

It has been 4 years since this message. I don't know why this class has not been changed ?

Regards,