PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

File Browse Control

PointOfLight · 08 Oct 2005, 16:18 UTC
What's the name of the control that you use in PPL to add file browsing support?
POL,

Let me be the first to welcome you back to the world of PPL! Hopefully we'll be seeing more of you around here in the coming days.

I think what you are asking is How to get the enhanced file open and file save dialogs? That way you can browse the entire file system on the PPC?

Use the standard GetFile and PutFile calls. This gets you the standard Open and Save dialogs. To get the enhanced versions, you need the GSGETFILE.DLL in a location where the PPL.EXE can find it.

Of course, you've written some great stuff, so I probably don't understand the question...

bmanske
PointOfLight · 09 Oct 2005, 04:32 UTC
Thanks for the hearty welcome! I hope to get involved around here again really soon. As much as I hate to admit it, I've been spending a lot of time in the NSBasic camp lately, but I think there's enough of me to go around (at least I know there is physically) :D

At any rate, you did answer my question in a roundabout way. I knew about the function calls, but I also knew he had used a special control to get the enhanced functionality, and it was the name of that control that I was curious about. So thanks for the heads up!
How is NSBasic these days?
PointOfLight · 11 Oct 2005, 21:49 UTC
It's getting better, but fortunately they'll never have one thing for me that PPL has, which is native support for a graphics API.
Have you been using it a lot? Are you still using the spritehand control for your games?
PointOfLight · 11 Oct 2005, 22:11 UTC
Yes I am using NSBasic quite a bit. However, I never really used the ASpriteCE control for anything. I played around with it a little bit, but there were too many issues for me to seriously consider developing a game with it.
I know we discussed this over pm a while ago. George had written me to do more beta testing, but I was too busy with PPL. Though Alain mentioned that he did not plan for PPL to replace any language, it is sooo fast for an interprtive language, it's gaming ability is shaping up so nice, that PPL has won me over from NSBasic (and remember, I had written a few really good games with NSBasic+Asprite) and C#, which I was using.

NSBasic is an interesting (and good) package. Many don't realize that a huge chunck of the power of NSBasic comes from supporting 3rd Party controls.

I believe that if the Visual form builder of PPL could be as good as NSBasic, and PPL supported 3rd Party controls, PPL would be the ultimate language on the PPC.

Sorry, a little off topic, but when you mentioned NSBasic, I remembered my fond days with the program.
PointOfLight · 12 Oct 2005, 02:10 UTC
Actually, I was going to suggest moving our NSBasic talk over to PM, but now that you mention it, I personally think the on-board editor for PPL is better than that of NSBasic. Why, you ask? For one thing, it handles controls much better. For another, it is actually compatible with the desktop IDE in terms of the output it produces, which NSBasic is not. The main reason I do continue to use NSBasic, however, is that as you mentioned it has superior support for 3rd party controls. And since it is a well established product at this point, it has a strong, supportive user base. Of course, I know PPL will get there some day :D Finally, as my last bit of off-topicness, did I ever get to see any of those games you mention? If not, I'd like to. Maybe you could PM me to discuss further (if I don't get to you first).
I am now looking at the possibility to include OLE controls (ActiveX) in the PIDE Form Builder. I hope you guys will appreciate my dedication to this product! ;)

I hope it will be feasible within a reasonable amount of time.
PointOfLight · 12 Oct 2005, 15:15 UTC
I hope you already know how much we appreciate your dedication to this project :D Personally, I wouldn't even care so much if I could put OLE objects on a form through the IDE or not. The main issue I have with them is that they are a tad more complicated to work with in the code than other environments I work with. Of course, what it really boils down to is that I'm just lazy :roll: Rather than having extended OLE functionality in the PIDE, I'd like to see the ability to respond to events (unless that's already there and I missed it, which is entirely possible with me).
Alain,

I have faith in PPL. I think you have something here that's potential is well beyond what you originally imagined. With your dedication, you have gone to some great places.

I know a year and a half ago mentioned that PPL was NOT meant to replace any langauge. However, after 1 1/2 years of bug testing, I think PPL is able to sway many people to come over to the team from whatever langauge they may be using. It just needs greater visual aspects.

ActiveX controls (*with great EVENT handling*) are so important. After buying and using NSBasic from it's infancy I have noticed one secret to their success: supporting controls that OTHER people make! This has rocketed their list of features into the stratosphere.
Event support is there, it's basically a regular invoke just like a method. However, I need PPL internals to be able to call the standard ActiveX events, like Draw, OnMouseDown, OnMouseMove, OnMouseUp etc... I also need to implement some kind of mecanism in the PIDE to allow users to easily create PPL ActiveX header files and then import them into the PIDE.

Don't worry I will start to work on these issues real soon. I will keep you guys up-to-date.

I am still working on the PASM, which is starting to run very well. I will need some more testers for it. It's very powerfull and easy to use, it's a whole language in itself inside PPL.
PointOfLight · 12 Oct 2005, 18:33 UTC
How would an event work as an invoke? The event is triggered by the control, and should launch a coresponding routine within the PPL code, should it not?
Thats it. This part is not implemented yet. I have to look into this. Calling the event for the control is not a problem I think.
Anyone can point me to an ActiveX (*.ocx or *.dll) browser software, where I can see all interfaces, methods, properties and define values for a control?

I need to explore the structure in a visual way.

I will then need to implement a sort of header file system for PIDE Form Builder to read to load the control and draw it on screen.