It is currently Tue Jun 18, 2013 8:55 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 332 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 23  Next
Author Message
 Post subject:
PostPosted: Thu Jul 05, 2007 8:53 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
Fixed.

Give me 30 mins to rebuild all the libs + dll's and upload (using a dialup which is SO S L O W !)

:)

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 05, 2007 8:55 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
Thanks a lot!
I will test it tomorow. It's to late in Germany today. :wink:

_________________
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: Thu Jul 05, 2007 9:20 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
5th July 2007.

Bug fix version.

Version 1.07 of egrid 5 fixes another bug resulting from the last round of major changes. An application using multiple egrids would function incorrectly and possibly crash.

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 1:38 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
I tried to download the new version, but I get 'egrid5_v1.06_PB4.1staticsetup.exe'

_________________
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: Fri Jul 06, 2007 1:43 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat Apr 26, 2003 8:27 am
Posts: 4231
Location: Strasbourg / France
Thorsten1867 wrote:
I tried to download the new version, but I get 'egrid5_v1.06_PB4.1staticsetup.exe'
Worked here (downloaded it this morning).
Direct link : http://www.purecoder.net/egrid5_v1.07_P ... csetup.exe

_________________
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 1:49 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
Now the link is correct!
All my eGrids now working perfectly. :D :D :D

_________________
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]


Last edited by Thorsten1867 on Fri Jul 06, 2007 2:59 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 2:54 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
You must have had the old egrid download page cached in your proxy server etc.

Anyhow, I'm glad the fix is holding up! :)

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 17, 2007 6:37 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
Update. egrid 5 version 2.01.

Version 2.01 of egrid 5 (Purebasic 4.1 version only or the dll version of egrid 5) adds the facility of gradient painting individual cells as the following screenshot shows:

Image

Gradient painting individual cells is obviously more flexible than only offering this facility for entire rows etc. but, consequently, you do have to select the colours carefully. The various cell types do blend very well with the gradient painting.

Gradient painting of cells is achieved very simply through a CellCallback. No hassle! There is an additional demo program (demo 8 ) to show you how. The help manual has also been updated etc.

In terms of installation, you are definitely advised to completely remove any previous version first. This is because there is a new resident file.

See the egrid site for the download etc.

NOTE that because gradient paint is offered at the cell level, allowing the user to reorder the columns of such an egrid by click and drag etc. would destroy the gradient painting! :) Therefore if an egrid utilises gradient paint then it should either refuse column drags or keep a very close eye on the column order array etc.

Also, and to answer this question before it's asked :wink: ; I tried gradient painting header cells and it looked awful! I thus removed this option.

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 8:00 am 
Offline
User
User

Joined: Thu Dec 16, 2004 10:36 am
Posts: 21
Location: Germany/Allgaeu
There is something strange happen to egrid. :shock: Last week i was able to use EGrid I compiled my code and all things gone ok. But since saturday i always get the message that i have to register to use the complete Egrid, that's strange because i didn't change anything. Even a easy code would'nt work anymore. So i'm complete lost i don't know how to get this working.

Here the code for testing, its one of your examples a little shortened. The registration infos are marked out. If you need more information or the code of the project i work on currently please PM me.

Code:
;******************************************************************************************
;'egrid5' editable grid control. By Stephen Rodriguez.
;******************************************************************************************
;                                 DEMONSTRATION PROGRAM 7.

egrid_Register("MichaelHolderried**##########**", "################################")

Procedure.l MyCellCallBack(egrid, uMsg, *cellinfo.egridCellInfo)
  Protected result
  ProcedureReturn result
EndProcedure

If OpenWindow(0,0,0,640,300,"egrid4 demo 7.",#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_Maximize|#PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0))
  egrid_CreateGrid(1, WindowWidth(0)/2-175, 150, 350, 300,24, #egrid_AlwaysShowSelection, #egrid_CustomHeader | #egrid_ResizeColumnsTrue)
  egrid_CreateCellCallback(1, @MyCellCallBack())
  egrid_AddColumn(1,0,"",30)
  egrid_AddColumn(1,1,"First name",120)
  egrid_AddColumn(1,2,"Second name",120)
  egrid_AddColumn(1,3,"Gender",60)
  egrid_AddColumn(1,4,"VR",30)
  egrid_AddRows(1,-1, 100) ;Add 100 rows.
  For b=0 To 99                         
    egrid_SetCellText(1,0,b,"FALSE")
    egrid_SetCellText(1,1,b,"Bob")
    egrid_SetCellText(1,2,b,"Smith")
  Next
  egrid_SetHeaderHeight(1,40)
  egrid_SetOption(1, #egrid_SelectionBorderWidth, 2)
  SetActiveGadget(1)
  Repeat
    EventID = WaitWindowEvent()
    Select EventID
      Case #PB_Event_Gadget
        Select EventGadget()
        EndSelect
    EndSelect
  Until EventID = #PB_Event_CloseWindow
EndIf
End

_________________
Believe means you don't know


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 8:21 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4739
Location: Berlin - Germany
No problem here, have you changed to unicode?

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Linux Mint 15 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 9:25 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
Sorry Michael,

the first registration I send out is always a temporary one and expires after 10 days. My reasons for doing this are buried within one of the egrid threads; but basically it follows a couple of fraudulent payments.

I normally send out a permanent code before the temporary one expires, but in this case, the sun, sea and the sand got in the way!

A permanent code is on its way.

My apologies again.

Stephen.

**EDIT: a quick look at the program above and your CellCallBack function always returns zero. This means that you are forbidding the selection of any cell etc.

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 10:01 am 
Offline
User
User

Joined: Thu Dec 16, 2004 10:36 am
Posts: 21
Location: Germany/Allgaeu
Thanks for the fast response, tho posted code is only to test the registration, it's not a real working thing. I would just minimize the code to be sure that its was not a matter of coding.
BTW.
Quote:
but in this case, the sun, sea and the sand got in the way!
Where are you? :shock: The weather here is not this good the last weeks. 8)

_________________
Believe means you don't know


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 05, 2007 10:58 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
How can I prevent/disable the selection of more than one cell?

_________________
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: Wed Sep 05, 2007 11:44 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 9859
Location: Beyond the pale...
Not sure what you mean? Do you mean that you wish to prevent the user selecting multiple cells by click and drag etc?
Or do you mean that you wish to prevent the user editing certain cells?

I suspect it is the former you are asking about because you surely know the answer to the latter already! :wink:

Basically, you cannot prevent multiple cells being selected by click and drag etc. However, if your CellCallback is preventing certain cells from being selected for editing and thus preventing these cells from 'single cell selection', then these same cells can never be selected for editing. Of course, such cells can be selected by the user (by click and drag cell selection) and deleted by the user if you're not careful. Get around this by either using 'static' type cells or using the #egrid_CellUpdated message to prevent such deletions in the protected cells.

I did consider not allowing 'protected' cells to be highlighted by click and drag, but if you think about it this could cause absolute chaos for an application. Imagine the mess it could make of cut and paste! :)

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

eScript
Arctic Reports
nxSoftware


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 06, 2007 11:42 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
srod wrote:
Not sure what you mean? Do you mean that you wish to prevent the user selecting multiple cells by click and drag etc?

Yes, that's it. The problem is, that the cells are sometimes selected too, if I change the cell or row in the callback. Some user are wondering, if they can select multiple cells and it's not possible to do something with it.

_________________
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]


Last edited by Thorsten1867 on Thu Sep 06, 2007 12:05 pm, edited 1 time in total.

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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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