PropertyViewer [canceled]

Share your advanced PureBasic knowledge/code with the community.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

PropertyViewer [canceled]

Post by Fluid Byte »

Alright, I finally hacked something together wich I think is worth releasing now. I tried to implement item folding the whole weekend but I failed totally. Anyhow I promised to release the source either it's done or not. So here it is but it's anything else than complete (for my personal taste). It's still missing item folding and keyboard navigation. But what it does up to now, it does fairly good and should be enough for most people.

Screenshot:

Image

Ok, the demo code goes first:

Code: Select all

*** removed ***
Please test this intensely and report any bugs so I can improve this ASAP.
Last edited by Fluid Byte on Wed Feb 25, 2009 3:01 pm, edited 8 times in total.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

October 16, 2007:

- fixed a memory leak

Content of PropertyViewer.pbi:

Code: Select all

*** removed ***
Last edited by Fluid Byte on Wed Feb 25, 2009 3:02 pm, edited 10 times in total.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Wow. :shock:

First class Mr Byte. :)

Thanks for sharing.
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Woohoo, finally! :lol:
Big thanks to you!
Windows 7 & PureBasic 4.4
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Very nice indeed.

Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Thanks :)

Maybe the problems you encountered just need a pair of fresh eyes. Sometimes when you look at code a lot it gets hard to see something that may be obvious.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Usefull, thanks :wink:
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Very nice but i cant compile your example.
I have a IMA in the Procedure "PROV_AddParent()" at the line " *prvp = AllocateMemory(SizeOf(PROV_PARENT)) ".

I work with Windows XP SP2 (without XP Style) and PB 4.02

regards,
Nico
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Strange, I have exactly the same configuration and it compiles without problems...
Windows 7 & PureBasic 4.4
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Nicolaus, wich PB Version do you use? I use the latest Beta 4 for testing.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

Wow, this is amazing! :shock:
And a great PB study!

I've been looking for something like this.
Thanks a lot for this contribution!

.
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

@fluid byte
4.02, he said.
i tried with 4.02 too. no problems. same system as nicolaus.

< captious: >
i cant compile your example.
I have a IMA
that's contradictory.
so you can compile, but it doesn't run as it should. :lol:
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Nice :D
Paid up PB User !
byo
Enthusiast
Enthusiast
Posts: 635
Joined: Mon Apr 02, 2007 1:43 am
Location: Brazil

Post by byo »

So maybe some of the pros here can help improve the code by adding item folding and keyboard navigation as mentioned? 8)

.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

byo wrote:So maybe some of the pros here can help improve the code by adding item folding and keyboard navigation as mentioned? 8)
They can't because my code is hard to read. 8)

I hate it anyway if other peeps mess around with the code and release changes wich I can't reproduce in detail. So no worries. I will integrate item folding (and possible bugfixes) as soon as possible. So the user don't have be concerned about anything but hitting F5. :D
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Post Reply