BUG: DropDown button in constraint edit wrong |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
Posted: 01 June 2017 at 11:01am |
Hi;
Take a look at the attached screenshot! The drop down button is overlapped by the edit (text) part of the item when in edit mode: The real value for the selected item is 0,1 (German 0.1). I create the column in this way:
The item itself is a CXTPReportRecordItemText instance with the string set to the shown value of 0,1. Is it a problem of the alignment? I'm using in this case v17.3 in VS2008. Any help is welcome! |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello Martin,
I can't understand how you get such drop down button. I can get only old-style button. |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
The app is skinned using Office 2010 black style! Perhaps thats the reason...
Here is the code how I initialize the control within the OnInitDialog() function:
I do NOTHING special and the item itself is a CXTPReportRecordItemText() instance. I can reproduce it in any column of other report controls too. The button seems transparent. |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi;
I made a few more tests and after removing skinning from the application
the old combo button appeared. So it's a skinning related bug! The combination of skinning and AddComboButton(Inside=TRUE) leads to the drawing problem! Setting the parameter to FALSE has no effect in my case, because its the last column of the control and therefore the button is still drawn inside the item area. But now I have another problem! As soon as I click onto the combo button the edit part of the item disappears (is cleared)! Why? Here's a screenshot of this unwanted behaviour: When I then select an item in the list the list is closed but the item stays empty. When I then change the selection to another record, the text of the new selected item is drawn. Strange! Therefore I need a fix for two problems:
TIA |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hello;
I can reproduce the bug using your report sample -> Quality assurace -> ComboBox Turn on skinning (View > Skin Framework > Office 2010) then go to Report Control > Quality Assurance ComboBox. Don't turn on "Show non-active inplace buttons"! Resize the first column that its almost the same size as the text itself. Now click into the item and voilá you see the transparent button overlapping the text and artefacts on the right side of the item area. |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
|
Hi; I just tested this with Toolkit 19.2 and 19.3. IT'S STILL THERE!!! When can we expect a fix for this. Here's another screenshot from our application: |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |