RTF2

T

thomas

Hi Stephen !

I'm back from holiday ;) !
I can reproduce the problem in an example database. It not only in
runtime systems.
I've uploaded an mdb to
http://www.file-upload.net/download_21.08.06_h4s89e.zip.html
Two fields with data.
With small pictures its ok with bigger not.
The maxcharacters paramter is set to 0.
If I cant get it to work I've to buy a commercial control and I've
already built so much code around your control.
Any help on this would be great.

Thanks Thomas

Stephen Lebans schrieb:

- Zitierten Text ausblenden -
- Zitierten Text anzeigen -
There's several methods available to you:
1) Use a hidden Image control or a Hidden form containing an Image control
to initially load the selected Image. Compare the size of the Image
control's PictureData property to the current RTF2 control's MaxCharsAllowed
prop.
2) Since you are currently using the Clipboard, query the Clipboard object
for the current size of the copied Image it contains. This would require
some GDI coding but there is lot sof sample code out there.

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

Reply »
 
S

Stephen Lebans

I'm so far behind I do not have time to look at your sample MDB right now.

Why is your MaxCharacters prop set to 0?


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Hi Stephen !

I'm back from holiday ;) !
I can reproduce the problem in an example database. It not only in
runtime systems.
I've uploaded an mdb to
http://www.file-upload.net/download_21.08.06_h4s89e.zip.html
Two fields with data.
With small pictures its ok with bigger not.
The maxcharacters paramter is set to 0.
If I cant get it to work I've to buy a commercial control and I've
already built so much code around your control.
Any help on this would be great.

Thanks Thomas

Stephen Lebans schrieb:

- Zitierten Text ausblenden -
- Zitierten Text anzeigen -
There's several methods available to you:
1) Use a hidden Image control or a Hidden form containing an Image control
to initially load the selected Image. Compare the size of the Image
control's PictureData property to the current RTF2 control's
MaxCharsAllowed
prop.
2) Since you are currently using the Clipboard, query the Clipboard object
for the current size of the copied Image it contains. This would require
some GDI coding but there is lot sof sample code out there.

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

Reply »
 
T

thomas

Hi Stephen !

I tried to set the maxcharacters to 100000 via code but its seems to
change nothing.

Me.ActiveXStr4.MaxCharactersAllowed = 1000000
Me.ActiveXStr4.ControlSource = "test2"

When I set the property in the designview it changes always back to
120000.


Thanks Thomas
 
T

thomas

Ok I've found the problem.
If you open a jpeg in paint and copy the image to the control it isnt
saved. if you save the same picture as bmp and then mark it and copy it
to the clipboard the controls saves the image correctly.
i can live with this ;) thats something i can tell my customers.

thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top