| |
| Publicado el 23,agosto 2016 - 19:46 |
Hi All
I am missing something simple here. I need to create a popup that I will be using to display a few lines of information after which I want the user to touch the popup window and it must close. I have followed the notes but there is no popup option under containers. What am I missing?
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 21:28 |
Found that this works with WB, not WD.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 21:53 |
Hi André,
You still can use OpenPopup() / OpenPopupPosition() to mimic this behaviour with some additional code in the popup window to close on click (or any other field). The popup will also close if you click outside (the goal of a popup).
Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 22:15 |
Hi Alexandre
Thanks for that. I am very new to WD.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 22:39 |
Hi Alexandre
That looks like exactly what I want but I cannot work out how to create a popup window. Still scratching away here.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 22:48 |
Hi Alexandre
I am getting runtime errors. I have no idea how to create a pop up window.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 23:59 |
Quote André Labuschagné
Hi Alexandre
I am getting runtime errors. I have no idea how to create a pop up window.
Cheers
André
To be clear, you want to create your own pop up window and not a standard Windows menu (list of options), correct? If so then just create a new window and use this window name in OpenPopup().
If you want a Windows style system menu you can go to the Window ribbon in WinDev and select Popup menus to create and edit popup menus. Just be make sure the window you have open is the one you want the menu to be associated with. Then use the name of the menu with OpenPopupMenu(). |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 03:31 |
Hi Curtis
Ok - I have obviously got this all wrong. What I am really looking for is a little dialog window that I can customise the look and feel of entirely. When touched it must close. There must be no visible ok or yes or no button displayed. I am going to display some text comment in that window. Does that make sense?
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 05:00 |
Hi All
Have now got a window created and successfully called and passing some text to it but it will not display in the html control I have placed on this window that I am calling. I am assigning the text to the control and have confirmed that there is text to assign. Any ideas? Are there any other tricks I could be missing?
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 05:26 |
Turns out html controls do not work on all windows. There is nothing in the help file that sets out the conditions of the window that are required for it to work.
So now I am scratching to try and find out what type of window is required.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 13:37 |
Hi All
Chasing my tail but now proved that this is a threading issue. Need to call the window differently.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 14:30 |
Hi André,
As asked in another of your thread, are you using WebDev or WinDev? And if so, why are you speaking of HTML control? This would help us help you, in knowing better what you try to do in which environment.
Kind regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 16:27 |
Hi Alexandre
WD.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 18:19 |
| You want to display a popup that has lines of text, correct? If so, why are you using an HTML control? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 19:40 |
Hi Curtis
Yes - just a little window with text made up of three parts and each part must have a different colour. That is why I was looking at HTML control. This must stand out and I must have full control over the look and feel. Can you help?
Cheers Andre |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 19:46 |
I would use 3 static controls instead of using an HTML control. Each of the static controls can be a different color.
I think the HTML control is mostly used for displaying web pages in WinDev. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 24,agosto 2016 - 20:00 |
That was my next solution.
We have used the html control very successfully with hand coded html. it works very well indeed. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,agosto 2016 - 08:20 |
Hi andre
Make a new window.
Place rtf tekst control on it
You can change font and size and colour etc etc
regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,agosto 2016 - 17:32 |
All sorted - it was a threading issue.
Cheers André |
| |
| |
| | | |
|
| | |