forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Edit Dialog Element and the 64 KB Limit?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Feb 25, 2005 3:56 pm    Post subject: Edit Dialog Element and the 64 KB Limit? Reply with quote

Hi Guys,

I know this has been touched upon before, but is there a way to get around the 64 KB size limit for edit boxes? I know Lists allow for the holding of more data, but what about edit boxes? Is there a way to utilize the Windows API, or perhaps a DLL, to allow for edit boxes to hold more data?

Thanks,

- Boo
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Feb 25, 2005 4:27 pm    Post subject: Reply with quote

Use a decent, NT-based OS. Under XP I regularly load huge Pascal source files several hundred KB into my Textpad utility, which is written in VDS using the normal EDIT dialog element.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Feb 25, 2005 5:13 pm    Post subject: Reply with quote

Hi Jules,

I am running Windows XP Home Edition. Unfortunately, I cannot load such large files. 8-(

Problem is, I am creating an application for users who may be using Windows 98 or above. I was hoping for a solution to allow editable text that is over 64 KB in size. (I need an Edit element similar to the one utilized in the Windows Wordpad program.)

Thanks,

- Boo
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Feb 25, 2005 5:23 pm    Post subject: Reply with quote

Quick followup...

Just found out that I can manually paste over-65 KB text into a VDS edit box under Windows XP Home Edition. However, I cannot make it work when transfering the data from variables (and perhaps lists?) within my VDS-based application.

Regardless, I still need editable support, for example, for users running Windows 98.

Cheers,

- Boo
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Fri Feb 25, 2005 5:29 pm    Post subject: Reply with quote

Try the vdsobj extension, it is now freeware and includes a richedit object; it should be more then capable to handle more then 64kb of data. The richedit object allows you to specify the PLAINTEXT sytle which is basically the same as a memo/editbox then.
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Feb 25, 2005 5:31 pm    Post subject: Reply with quote

Thanks PGWARE. Will give it a shot...

Cheers,

- Boo
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Fri Feb 25, 2005 5:43 pm    Post subject: Reply with quote

Your best bet is the richedit object in PK's dll there. It will allow large
files on 9x and NT systems.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Fri Feb 25, 2005 7:09 pm    Post subject: Reply with quote

Hi Guys,

I am playing around with this right now.

By the way, PGWARE... Can your GUI extension be used in conjunction with the Object extension? What about balloon tooltips on Object elements?

Thanks,

- Boo
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1562

PostPosted: Sat Feb 26, 2005 12:15 am    Post subject: Reply with quote

I think you are refering to CodeScripts GUI extension. I have no GUI extension Smile


I suspect CodeScripts balloon tips may work. The object extension has a function which will allow you to retrieve the window handle of controls using the @OBJECT(GETHANDLE) function.

Again I'm not certain on CodeScripts GUI extension and if it works by using Windows handles but I suspect it probably does; if so it should work fine with vdsobj.
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Sat Feb 26, 2005 5:05 am    Post subject: Reply with quote

Hi PGWARE,

Thanks for the info. Oops! Should have typed it as "the GUI extension." Wink

Cheers,

- Boo
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sat Feb 26, 2005 9:36 am    Post subject: Reply with quote

Boo wrote:
Hi Jules,

I am running Windows XP Home Edition. Unfortunately, I cannot load such large files. 8-(


That's very odd. I have never noticed such a restriction on any of the 3 computers running XP here.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Sat Feb 26, 2005 3:08 pm    Post subject: Reply with quote

Hi Jules,

Actually, I got it working after a little memory management...

Thanks,

- Boo
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Mar 06, 2005 12:54 pm    Post subject: Reply with quote

Hi Boo
VDSGUI Balloon tips should wok with VDSOBJ elements.

For elements that return a window handle (most OBJ elements) you can use:
Code:

GUI ADD,TOOLTIP,TOOLTIP1,TOOLTIPCTRL1,%%Handle,1,Test Title, This is body text

where %%handle can be obtained by @OBJECT(GETHANDLE) function in VDSOBJ.

Even for elements from other extensions/VDS like bitmap where you can't get
a valid handle you can use:
Code:

GUI NOTIFYTIP,<Window>,<Icon>,<Title>,<Text>,<Timeout>,<TipEvent>{ ,Xpos,Ypos }

where <Window> is the classname of your main VDS dialog itself.
You can position he tip using XPos & Ypos values such that the tip gets
properly postioned on the target dialog element (say bitmap).
This way you can virtually display tooltip against any dialog element!.
Refer VDSGUI help file for more details.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Sun Mar 06, 2005 3:23 pm    Post subject: Reply with quote

Thanks Codescript.

Cheers,

- Boo
Back to top
View user's profile Send private message
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Wed Mar 16, 2005 1:04 am    Post subject: Reply with quote

Hi Again,

I can successfully paste large amounts of text (over 64 kb) into the richtext object. However, larger instances of text (such as a 1.5 MB or so of text) take a long time to load.

Is there a way to increase the buffer size for this .DLL to allow faster loading? (In other Windows apps. on my PC, I can instantly paste large amounts of text into edit fields. However, the same text in a VDS richedit object takes forever.)

Thanks,

Boo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group