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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Wrong selection ComboBox

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
sviluppo Posted - Mar 19 2014 : 02:00:48
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
3   L A T E S T    R E P L I E S    (Newest First)
sviluppo Posted - Mar 20 2014 : 01:21:58
I followed the instructions and now it works perfectly! Thanks
xequte Posted - Mar 19 2014 : 21:17:29
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
w2m Posted - Mar 19 2014 : 13:31:17
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