Search found 13 matches

Search

by philipp.wechsler
Mon Dec 21, 2020 7:43 am
Forum: HowTos
Topic: How to find out that the code are running in the Desktop UI?
Replies: 8
Views: 7646

Re: How to find out that the code are running in the Desktop UI?

Thanks @leoknipp, with your solution it works as well.

Best Regards
Philipp Wechsler
by philipp.wechsler
Fri Dec 18, 2020 4:42 pm
Forum: HowTos
Topic: How to find out that the code are running in the Desktop UI?
Replies: 8
Views: 7646

Re: How to find out that the code are running in the Desktop UI?

@gschijndel yes, your solution do the same! Thanks for your reply.
by philipp.wechsler
Fri Dec 18, 2020 4:05 pm
Forum: HowTos
Topic: How to find out that the code are running in the Desktop UI?
Replies: 8
Views: 7646

Re: How to find out that the code are running in the Desktop UI?

System calls such as opening the GEDI do not work in the Desktop UI. But it works for normal client. That's the reason why we don't want to offer such functions under Desktop UI at all.
by philipp.wechsler
Wed Dec 16, 2020 7:15 am
Forum: HowTos
Topic: How to find out that the code are running in the Desktop UI?
Replies: 8
Views: 7646

Re: How to find out that the code are running in the Desktop UI?

What about the client? In the client, the local host and eventHost() are also already different. Although it does not run in the Desktop UI.

Best Regards
Philipp Wechsler
by philipp.wechsler
Mon Dec 14, 2020 8:49 am
Forum: HowTos
Topic: How to find out that the code are running in the Desktop UI?
Replies: 8
Views: 7646

How to find out that the code are running in the Desktop UI?

We need to stop the system calls in the Desktop UI and need a query if the code is running under a Desktop UI. How to find out that the code are running in the Desktop UI? Similar to isUltralight( ). Currently I solve it like this: string user, password; bool isDesktopUi = ( getMobileUserInfo( user,...
by philipp.wechsler
Mon May 04, 2020 11:56 am
Forum: HowTos
Topic: console.log() shows nothing in log viewer
Replies: 5
Views: 7280

Re: console.log() shows nothing in log viewer

At WebView Ewo you can activate the developer settings with:

Code: Select all

this.setAttribute ("DeveloperExtrasEnabled", TRUE);
Then, you have a new context menu entry "Inspect" on the running WebView Ewo.
It opens the "Web Inspector" that have a console like Google Chrome.
by philipp.wechsler
Thu Feb 28, 2019 7:32 am
Forum: Bugs / Problems
Topic: How can the type name of the cascade button be passed to the popup?
Replies: 0
Views: 7570

How can the type name of the cascade button be passed to the popup?

How can the type name of the cascade button be passed on? So that the popup has the same style as the parent panel? If the cascade button is combined with the editor, the style is defined for all of them. If popups are added during initialization, the style will not be adopted. Initialize cascade bu...
by philipp.wechsler
Tue Jan 22, 2019 2:45 pm
Forum: HowTos
Topic: ctrl++ object list
Replies: 1
Views: 2984

Re: ctrl++ object list

There is an easy way to create a list of objects with dyn_anytype. After troubleshooting I found the bug of my problem. The order of the classes in the same script is critical! Dosn't working MWE: class MyObject1 { private string sName; private dyn_anytype daObjects; public MyObject1( string sName =...
by philipp.wechsler
Tue Jan 22, 2019 7:14 am
Forum: HowTos
Topic: ctrl++ object list
Replies: 1
Views: 2984

ctrl++ object list

Is there a way to create a list, array or dyn_... of ctrl++ objects? Or can I implement a generic list?

With kind regards

Philipp
by philipp.wechsler
Mon Dec 10, 2018 11:34 am
Forum: Bugs / Problems
Topic: Embedded Module panel accessibility
Replies: 5
Views: 6433

Re: Embedded Module panel accessibility

<r>I can't transfer a ctrl++ object by the $-parameter for initialize. That's the reason that I need the public method after loading.<br/> <br/> <URL url="https://portal.etm.at/index.php?option=com_kunena&Itemid=75&func=view&catid=16&id=10257"><LINK_TEXT text="https://portal.etm.at/i...