Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How change Dynamic Block Size

3 REPLIES 3
Reply
Message 1 of 4
Bodzio
351 Views, 3 Replies

How change Dynamic Block Size

Hi
I have problem w/change size of dynamic block.
The block name is 'a' and that is simple rectangle w/action stretch and value name Distance - how change this value ?

That is my code:

var MS: OLEVariant;

Block := MS.InsertBlock(0,0,'a',1,1,1,0);
Blok1.Value.Distance := 200; <--- !!! This is only my idea (off course doesn't work)

Please help my w/that problem
Regards
3 REPLIES 3
Message 2 of 4
tlindell
in reply to: Bodzio

What format of code is this? VBA, .NET. DESIEL, etc?
Message 3 of 4
Bodzio
in reply to: Bodzio

Hi I use Delphi (object Pascal) or C++
Message 4 of 4
tlindell
in reply to: Bodzio

Well, I have no experience with C++. The only suggestion I can make, is that the input value might need to be formatted in Decimal units, i.e. 200.0 This is what LSP required and may hold true for yours as well.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services