StringGrid Gui Component
BlitzMax Forums/BlitzMax Module Tweaks/StringGrid Gui Component
| ||
get it here http://free.hostdepartment.com/c/chrisc/index.html should be self explanatory I even did some comments as I went on... I'm thinking of having a go at doing some postgreSQL bound gui gadgets based on MaxGui objects, would anyone find this useful? |
| ||
OK what I miss? I load your file in Bmax, it compiles it and then it try to open a window and close immediately without errors. If it works it will be a very useful gadget. thanks in advance byez |
| ||
works fine for me. Looks nice too :) OK what I miss? I load your file in Bmax, it compiles it and then it try to open a window and close immediately without errors. Are you using win32? |
| ||
yes, winxp+sp2. |
| ||
@ degac - can you double check your running in debug mode, though if theres no feedback it looks like the problem could be happening in the C code @Perturbatio can you verify the New method oddness (see code!) |
| ||
@Perturbatio can you verify the New method oddness (see code!) I commented out the print command and everything compiled fine. I then removed the New Method altogether and it still compiled fine. |
| ||
Well...I disabled debug mode and it runs perfectly! doh? Questions: Is there a way to select a row or a coloumn like in excel, with the row and the coloumn draw in another color? At the moment ONLY the cell selected (and the row) is drawn in another color. I know this is the first port to bmax... |
| ||
@perturbatio and it ran it doesnt here without that print statement which is *real* wierd... @degac I'm holding off with the colour commands as they are only index based at the moment and I'd prefer rgb check cstringgrid.h and you'll see what I mean I'm a bit concerned it will only work in debug mode for you and its behaving slightly differently here than on perturbatios system, anyone any ideas as to what I might be doing wrong? |
| ||
I really at a loss with debug off it doesnt work unless somthing is printed in the new or initialise method a printf in extern "C" CStringGrid* newCStringGrid(int x,int y,HWND hwnd,HINSTANCE hi) will also make it work Please someone save my sanity I just cant suss it its very strange |
| ||
Any update on this? |
| ||
yeah but on another thread if you looked... I remember a stunning lack of interest |
| ||
You shall gain my interest once you port it to Linux ;-) |
| ||
Dream on Brucey! |
| ||
okay m8 you convert the C++ code to gtk and you're on ;p |
| ||
So you still work on this or is this dead? |
| ||
well the origional is not being updated and as far as I know no one uses it... You have all the source, you are free to contribute improvements |