|
FOROS PROFESIONALES WINDEV, WEBDEV y WINDEV Mobile |
| | | | | |
| [WD21] broken template controls? |
| Iniciado por Andrew, 15,ago. 2016 21:55 - 8 respuestas |
| |
| | | |
|
| |
Miembro registrado 31 mensajes |
|
| Publicado el 15,agosto 2016 - 21:55 |
I've got 2 problems right now that are giving me trouble.
First - Treeview-Table controls in Control-Templates. Adding column-header-titles to visually group columns together ... they don't come along for the ride when I bring the template-control over to be implemented on a Window.
Second - the context-menu of template controls seem to work about 1/2 the time. I'm currently trying to troubleshoot an issue where I've brought over a control-template onto a screen ... and none of the control-template's context-menu options' code runs. I can say for certain the options' states are active -- but I can't get the code to run and I can't get any breakpoints inside the code to trigger. What's really odd is that on another Window it DOES work ... and then on another one it DOESN'T work -- bother windows are blank except for the control-template ... and both windows were created one after another to test why the original window isn't working ... so both those blank windows are very well the same ... I'm just confused ...
Any ideas? ... tips? |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 31 mensajes |
|
| Publicado el 15,agosto 2016 - 23:40 |
Some more info on the context-menu bugs...
If I go ahead and add options to my control-template context-menu and refresh the controls which use the control-template, instead of calling the code in the template-control's context-menu, it's calling the code of my other context-menus in the window.
So, instead of calling MENU_TemplateControl.Option_1 when I click on that option, it's calling MENU_PreviousMenu.Option_1 code. What's going on??? This is bizarre. |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 102 mensajes |
|
| Publicado el 16,agosto 2016 - 10:30 |
Andrew,
sometimes the update from the template control doesn't work automatically. You could try to do a right mouse click on the control and then 'Update from the template'. But I guess you already did that.
Anyway HTH Sebastian
-- http://arnoldconsult.de WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 31 mensajes |
|
| Publicado el 17,agosto 2016 - 12:46 |
Oh yea, geeze, if that were it I'd be laughing. But sadly, no, it's not the case. I can change obvious properties of controls in the template-control and update and see those changes come through -- but no column-headers.
The bugs are happening on our enterprise application. It's great that Windev 21 has pretty yellow colours but as of right now it's unfit to continue to develop with.
We're continuing to develop with Windev 19 until these small but problematic bugs are fixed. I'm hoping PCSoft is quick but I'm not about to hold my breath -- not the greatest reputation about them, eh |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 31 mensajes |
|
| Publicado el 17,agosto 2016 - 12:59 |
Ah! -- I was able to get my menu-options working ... sort of ...
So that whole "5.5 compatibility number" is not just for 5.5 compatibility calls to Menu.XXX functions -- it's been made rather obvious to me, because of this issue that I'm having with it, that it's still very much used by the framework itself.
By going into the template-control and changing the options' numbers from what they were before (which were automatically set by Windev) and changing them to 1000, 1001, 1002, etc. - I was able to get the menu-options' code to run when they were clicked.
So now my question --- this is a BIG piece of software with lots of context-menu options throughout the controls and screens ... the scary question ... how many context-menu options has Windev 21 broken? :s I'll be testing this all day today ... merci, Windev ... :s |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,agosto 2016 - 14:04 |
Hi Andrew,
did you contact the support? What are they saying?
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 8/17/2016 à 4:59 AM, Andrew ANDREW MACKENZIE a écrit :
Ah! -- I was able to get my menu-options working ... sort of ...
So that whole "5.5 compatibility number" is not just for 5.5 compatibility calls to Menu.XXX functions -- it's been made rather obvious to me, because of this issue that I'm having with it, that it's still very much used by the framework itself.
By going into the template-control and changing the options' numbers from what they were before (which were automatically set by Windev) and changing them to 1000, 1001, 1002, etc. - I was able to get the menu-options' code to run when they were clicked.
So now my question --- this is a BIG piece of software with lots of context-menu options throughout the controls and screens ... the scary question ... how many context-menu options has Windev 21 broken? :s I'll be testing this all day today ... merci, Windev ... :s |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 31 mensajes |
|
| Publicado el 23,agosto 2016 - 15:29 |
| Yea -- they responded on Thursday saying they were unable to replicate the issue and therefore required a project be sent to them. So I made a project and sent it to them and have yet to hear back. In the meantime I've overloaded the template controls and built the headers for each one. Just an inconvenience is all. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 23,agosto 2016 - 18:40 |
FYI: you should ALWAYS send a simple example project when you report a bug. This speeds things up a lot.
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 8/23/2016 à 7:29 AM, Andrew ANDREW MACKENZIE a écrit :
Yea -- they responded on Thursday saying they were unable to replicate the issue and therefore required a project be sent to them. So I made a project and sent it to them and have yet to hear back. In the meantime I've overloaded the template controls and built the headers for each one. Just an inconvenience is all. |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 31 mensajes |
|
| Publicado el 30,agosto 2016 - 14:58 |
Well Windev Support just sent an email saying they never received the project I sent them a little more than a week ago ... so I forwarded the email to them (a great guy named Patrick) ... maybe it will magically work this time? I'd rather them just say "hey, we don't care" instead of trying to give me some false sense of hope.
-- c++ | objective-c | c# | php | javascript | WD-21 | Oracle | mysql/maria-db |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|