ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Wrong selection ComboBox
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

sviluppo

Italy
3 Posts

Posted - Mar 19 2014 :  02:00:48  Show Profile  Reply
I can not solve a problem that I encountered at one of your examples: Annotations\Vectorial\Demo.dpr
Basically I start the program, I object to insert "Box" and as brush style "Cross" drawing the rectangle and brush style becomes "Horizontal"!! Because the values in the ComboBox change yourself?
Thank you

w2m

USA
1990 Posts

Posted - Mar 19 2014 :  13:31:17  Show Profile  Reply
There are some minor bugs in the demo.

Change the items in Combobox3 in the IDE to:
Solid
Clear
Horizontal
Vertical
Forward Diagonal
Backward Diagonal
Cross
Diagonal Cross


then change ComboBox4Change from:
const
  BS: array[-1..7] of TBrushStyle = (bsSolid, bsSolid, bsClear, bsBDiagonal, bsFDiagonal, bsCross, bsDiagCross, bsHorizontal, bsVertical);

to:
const
  BS: array[-1..7] of TBrushStyle = (bsSolid, bsSolid, bsClear, bsHorizontal, bsVertical, bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross);


The indexes of the items in Combobox3 must match the indexes of the brush styles in ComboBox4Change BS (brush styles). There is an extra bsSolid item in the brush styles (BS) so that if no brush style is selected in Combobox3 the brush style will be set to bsSolid.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

xequte

38610 Posts

Posted - Mar 19 2014 :  21:17:29  Show Profile  Reply
Hi

Thanks for the report.

We have an update for this demo, which will be released with v5.0.7, but you can email me if you need it now.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

sviluppo

Italy
3 Posts

Posted - Mar 20 2014 :  01:21:58  Show Profile  Reply
I followed the instructions and now it works perfectly! Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: