It is currently Fri May 24, 2013 7:47 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 366 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 25  Next
Author Message
 Post subject:
PostPosted: Mon Oct 09, 2006 2:06 pm 
Offline
Addict
Addict

Joined: Mon May 29, 2006 1:01 am
Posts: 1966
Location: Outback
Yes, sorry.

Typing too fast with one brain cell focussed on something else and the other one is - hang on, where is the other one?

I've lost it! :shock:


Ah well.


eGrid is good, that much is certain. :)

_________________
Dare2 cut down to size


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 09, 2006 2:11 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Dare wrote:
Yes, sorry.

Typing too fast with one brain cell focussed on something else and the other one is - hang on, where is the other one?

I've lost it! :shock:


Ah well.


eGrid is VERY good, that much is certain. :)



You missed a word! :D

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 09, 2006 2:19 pm 
Offline
Addict
Addict

Joined: Mon May 29, 2006 1:01 am
Posts: 1966
Location: Outback
LOL! :lol:

_________________
Dare2 cut down to size


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 09, 2006 3:19 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
srod wrote:
That will break quite a lot of code! I think Thorsten in particular will scream blue murder!

You're right! I think, I 've the highscore using eGrid-Gadgets (over 16) in my program.

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 09, 2006 3:26 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Thorsten1867 wrote:
srod wrote:
That will break quite a lot of code! I think Thorsten in particular will scream blue murder!

You're right! I think, I 've the highscore using eGrid-Gadgets (over 16) in my program.


Phew, sounds like egrid central!

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 7:24 am 
Offline
User
User

Joined: Sun May 07, 2006 10:43 am
Posts: 50
Location: Italy
Hi srod:
I would make a request for your new egrid version : the possibility to split the text on more lines for a single cell, not just adding the ellipsis to the end of the single line like now.
I've modified your old egrid adding this possibility(adding a constant on textjustification field of cellinfo and passing in such case the value DT_WORKBREAK to the drawtext_ function, as you see is very complicated :D ) .

Thanks in advance.

_________________
PB Registered User, Egrid Registered User
WinXP Pro SP2,Intel Core 2 Duo 2.13GHz, 4,00 Gb Mem, Ati Radeon x1550, Realtek High Definition Audio Integrated


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 8:42 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Have you planned an export to XLS ? or ODS ?
Why not XML (file or string) ? With an export, people could save in files they want !


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 11:40 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
Progi1984 wrote:
Have you planned an export to XLS ? or ODS ?
Why not XML (file or string) ? With an export, people could save in files they want !


In short, no! :)

I don't even know what ODS is, but, to be honest, whilst I've considered exporting to XML, I decided that this is probably easiest left to the developer. Coding your own routine should be straight forward. Of course, if you offered to have your routine incorporated into egrid, then I wouldn't say no! :wink:

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 11:44 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
magicjo wrote:
Hi srod:
I would make a request for your new egrid version : the possibility to split the text on more lines for a single cell, not just adding the ellipsis to the end of the single line like now.
I've modified your old egrid adding this possibility(adding a constant on textjustification field of cellinfo and passing in such case the value DT_WORKBREAK to the drawtext_ function, as you see is very complicated :D ) .

Thanks in advance.


How did that affect editing the cell?

I have certainly considered this on a number of occasions, but just couldn't convince myself that many people would want it. I know its a simple addition to the DrawText_() function.

***EDIT***
Having made the necessary changes - yea it looks kind of cool to wrap the text instead! The only problem is that you have to set a row height which is effectively a multiple of the average font height else you get a few pixels of an incomplete row showing. This will be a problem if using multiple fonts etc.

Question: what's the best way of enabling this? Either in the CellCallback or as an egrid creation flag?

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 1:33 pm 
Offline
User
User

Joined: Sun May 07, 2006 10:43 am
Posts: 50
Location: Italy
@srod:
Don't worry for the height of rows, the responsability will be of the developer set a proper row height at grid creation.

_________________
PB Registered User, Egrid Registered User
WinXP Pro SP2,Intel Core 2 Duo 2.13GHz, 4,00 Gb Mem, Ati Radeon x1550, Realtek High Definition Audio Integrated


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 2:00 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
ODS is OpenDocumentSheet, the concurrent of M$ Excel in OpenOffice.

ODS is an XML zipped !


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 2:25 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
Progi1984 wrote:
Have you planned an export to XLS ? or ODS ?
Why not XML (file or string) ? With an export, people could save in files they want !

Where is the problem to do it for yourself?
A lot of my egrids have as result a xml file. Use MSXML3 (PBOSL).
(I combined EGrid in my programm with XML, SQLite and INI-files)

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 2:29 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
Progi1984 wrote:
ODS is OpenDocumentSheet, the concurrent of M$ Excel in OpenOffice. ODS is an XML zipped !

ODS would be really nice, but this should be enough for a own libary.

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 10, 2006 10:29 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9870
Location: Beyond the pale...
BETA 3 released.

Please see the history page for a list of changes.

http://www.purecoder.net/egrid.htm

_________________
I may look like a mule, but I'm not a complete ass.

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 11, 2006 1:16 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Dec 03, 2005 1:31 am
Posts: 573
Location: Australia
Testing beta 3. I've noticed that double-clicking the column edge will resize the width to the max width of the cell's content. When running demo2 with the unicode lib, I typed in some text into the first text column and double-clicked the column edge, and it increased the width but not quite enough because the ... chars were visible (these replaced the last 3 chars of the cell content). I think this behaviour is not quite right (i.e. shouldn't see any ... for this auto-resize situation).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 366 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 25  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: tola and 2 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye