1. Buttons in VEL
- Posted by Liquid-Nitrogen Software <nitrogen_069 at HOTMAIL.COM> Dec 04, 1999
- 311 views
Hey, I'm trying to make some buttons which can have more than one line of text on them. I try to put new line characters in the caption, but it doesnt work. I tried sticking static labels on the buttons. didn't work. I'm think i remember VB can do multi line buttons. any ideas how to do it in VEL??? Thanks, Mark.
2. Re: Buttons in VEL
- Posted by Ad Rienks <kwibus at ZONNET.NL> Dec 04, 1999
- 334 views
Hi Mark, The following code worked partially for me. Only problem is the ClickEvent is not always captured. Strange! Does anyone have a suggestion? Ad --Tested code follows: without warning include vel005.e constant Form1 = CreateControl(FORM,0) SetAttribute(Form1,{{CAPTION, "Form"},{CENTERFORM,TRUE}}) constant Button1 = CreateControl(BUTTON, Form1) SetAttribute(Button1, {{TOP, 50}, {LEFT,200}, {HEIGHT, 50}, {DEFAULTBTN, TRUE}}) constant Static1 = CreateControl(STATIC, Button1) SetAttribute(Static1, {{TOP, 10}, {LEFT, 25}, {CAPTION, "Click"}}) constant Static2 = CreateControl(STATIC, Button1) SetAttribute(Static2, {{TOP, 25}, {LEFT, 25}, {CAPTION, "Here"}}) procedure Button1_OnClick(integer id, atom p, atom q) ShowMsg({"Clicked"}) end procedure SetEvent(Button1, CLICK_EVENT, routine_id("Button1_OnClick")) ShowForm(Form1,MODAL) --End of Tested Code ----- Oorspronkelijk bericht ----- Van: Liquid-Nitrogen Software <nitrogen_069 at HOTMAIL.COM> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: zaterdag 4 december 1999 8:36 Onderwerp: Buttons in VEL > Hey, I'm trying to make some buttons which can have more than one line of > text on them. I try to put new line characters in the caption, but it doesnt > work. I tried sticking static labels on the buttons. didn't work. > > I'm think i remember VB can do multi line buttons. any ideas how to do it in > VEL??? > > Thanks, > Mark.
3. Re: Buttons in VEL
- Posted by Bernie Ryan <bwryan at PCOM.NET> Dec 04, 1999
- 307 views
>>The following code worked partially for me. Only problem is the ClickEvent >>is not always captured. Strange!Does anyone have a suggestion? When the source is not released to the list, only the person that has the source can help to determine what the problem is. It is my opinion that if the source is not released, then the product should be considered commercial and should only be distributed from the author's Web site and doesn't belong on this list. If the author wants to protect his work, all they have to do is use a copyright when they post the softwares source on the list. If they do not want it used in any commercial software then they can say that in the header. In my opinion this list should be used for helping others to learn Euphoria. Bernie
4. Re: Buttons in VEL
- Posted by Ad Rienks <kwibus at ZONNET.NL> Dec 04, 1999
- 311 views
I don't agree with you, Bernie. Have you got the source code for kernel32.dll? No, you havn't, neither does anyone on this list. It is part of Microsoft® Windows®, a commercial product. Yet it is used heavily in all Euphoria for Windows applications, be it behind the scenes. And I remember Robert Craig writing that he wanted to have third-party support for Euphoria for Windows. Explicitly he said "written in Euphoria or another language". Now there is VEL, still a very good environment and tool for programming with the use of Euphoria. Unfortunately, Gary is collapsed or something, but you cannot forbid people to talk about VEL or exchange (little) chunks of VEL code. We're all people interested in programming and in Euphoria, but we're free to choose our own tools, aren't we? And VEL is not commercial; I never paid a cent, penny, euro or any other monetary value for it. So please, leave us alone and stop the beating up of VEL, Gary Dumer and the other VEL supporters. What have we done to you to make you so mad at us? Ad ----- Oorspronkelijk bericht ----- Van: Bernie Ryan <bwryan at PCOM.NET> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: zaterdag 4 december 1999 16:13 Onderwerp: Re: Buttons in VEL > When the source is not released to the list, only the person that has the > > source can help to determine what the problem is. > > It is my opinion that if the source is not released, then the product > > should be considered commercial and should only be distributed from > > the author's Web site and doesn't belong on this list. If the author > > wants to protect his work, all they have to do is use a copyright when > > they post the softwares source on the list. If they do not want it used > > in any commercial software then they can say that in the header. In my > > opinion this list should be used for helping others to learn Euphoria. > > Bernie
5. Re: Buttons in VEL
- Posted by Greg Phillips <greg_p at LINUXSTART.COM> Dec 04, 1999
- 308 views
I thought this list was for talking about Euphoria, regardless of what third party tools used. VEL is written in Delphi (?). Do you know Delphi? If you do, then good for you. I don't. A lot of us don't. Therefore, it's wasteful for the source code to be released. Why waste extra listserv space talking about Delphi code? It's a Euphoria mailing list. At risk of insulting you, Bernie, I've noticed you're really kind of a negative, immature person. You get upset when things aren't done your way, and don't seem to actually support anything anyone's written, except if it's yours. I really don't want to sound like I'm trying to start a fight, although that is how it looks. You're a great programmer, and very bright, but sometimes, it's impossible to tell your real age. Regards, Greg Bernie Ryan wrote: > >>The following code worked partially for me. Only problem is the ClickEvent > >>is not always captured. Strange!Does anyone have a suggestion? > > When the source is not released to the list, only the person that has the > > source can help to determine what the problem is. > > It is my opinion that if the source is not released, then the product > > should be considered commercial and should only be distributed from > > the author's Web site and doesn't belong on this list. If the author > > wants to protect his work, all they have to do is use a copyright when > > they post the softwares source on the list. If they do not want it used > > in any commercial software then they can say that in the header. In my > > opinion this list should be used for helping others to learn Euphoria. > > Bernie
6. Re: Buttons in VEL
- Posted by "Pete King, Spectre Software" <pete at THEKING29.FREESERVE.CO.UK> Dec 04, 1999
- 320 views
I agree.... People who slag off the tools others use should keep quiet. I use VEL for my Eden setup program and have no complaints at all with it. While I check the Euphoria message board frequently and rarely post my opinions, I feel I have to in this case. Do you not think that by slagging someone's library that you may cause the author's to cease to release updates for it? Surely constructive criticism isnt asking the impossible, although sometimes I wonder if it is.
7. Re: Buttons in VEL
- Posted by Everett Williams <rett at GVTC.COM> Dec 04, 1999
- 313 views
Why not just thank Gary for the effort that he has put out on behalf of Euphoria, and hope that he is able to get back on line and share more with us as time goes on. I think that it would be "nice" if the Delphi source were at least available on his site or as part of the download from the archive. I'm a lot more concerned that we might have in some manner lost contact with a valuable contributing member of the list, than I am concerned about some quibble that someone might have with what he has done. I am probably one of the greatest proponents on this list of portability at all levels. Damien looks as if it has the potential to be the most important, portable tool that we have available to us for development other than the base language itself. Since, at the moment, true portability is not even remotely possible in straight Euphoria code, things like Damien with VEL are about as close as we can get. Unless you have just not looked, Damien has a large amount of very meticulously coded Euphoria in it. It could serve as an example to most of us. This, from a man who does not speak English as his native tongue. Discussion of, use of Damien is a choice that each member on the list should make on their own. As long as it is Euphoria centered, and nothing could be more focused on Euphoria than Damien, it is appropriate to this list. Bernie, you are free to be as opinionated as you wish on any subject on this list. You are free to ignore any posts that do not meet your personal criteria for discussion. What you are not free to do is to determine what the rest of us will discuss. Threads that no one is interested in quickly die without any help from anyone. Hopefully, this one will do so quickly. Everett L.(Rett) Williams rett at gvtc.com Greg Phillips wrote: >I thought this list was for talking about Euphoria, regardless of what third >party tools used. VEL is written in Delphi (?). Do you know Delphi? If you >do, then good for you. I don't. A lot of us don't. Therefore, it's wasteful >for the source code to be released. Why waste extra listserv space talking >about Delphi code? It's a Euphoria mailing list. > >At risk of insulting you, Bernie, I've noticed you're really kind of a >negative, >immature person. You get upset when things aren't done your way, and don't >seem >to actually support anything anyone's written, except if it's yours. > >I really don't want to sound like I'm trying to start a fight, although that is >how it looks. You're a great programmer, and very bright, but sometimes, it's >impossible to tell your real age. > >Regards, >Greg > >Bernie Ryan wrote: > >> >>The following code worked partially for me. Only problem is the ClickEvent >> >>is not always captured. Strange!Does anyone have a suggestion? >> >> When the source is not released to the list, only the person that has the >> >> source can help to determine what the problem is. >> >> It is my opinion that if the source is not released, then the product >> >> should be considered commercial and should only be distributed from >> >> the author's Web site and doesn't belong on this list. If the author >> >> wants to protect his work, all they have to do is use a copyright when >> >> they post the softwares source on the list. If they do not want it used >> >> in any commercial software then they can say that in the header. In my >> >> opinion this list should be used for helping others to learn Euphoria. >> >> Bernie
8. Re: Buttons in VEL
- Posted by Bernie Ryan <bwryan at PCOM.NET> Dec 04, 1999
- 300 views
Greg I think you missed my point. If software is placed on the list and a lot of people want to use it. If that person leaves the list or no longer wants to support it. Then that leaves the people on the list without any help or support for that software. If the source is posted to the list ( or placed in the Euphoria archive ) then that software can be further developed and be supported by you or anyone else that has the knowledge to help. I don't think that this is unreasonable. I am not talking about any specific software but all software. Bernie
9. Re: Buttons in VEL
- Posted by Everett Williams <rett at GVTC.COM> Dec 05, 1999
- 308 views
On Sat, 4 Dec 1999 16:34:06 -0500, Bernie Ryan <bwryan at PCOM.NET> wrote: >Greg > > I think you missed my point. If software is placed on the > list and a lot of people want to use it. If that person leaves > the list or no longer wants to support it. Then that leaves > the people on the list without any help or support for that > software. If the source is posted to the list ( or placed > in the Euphoria archive ) then that software can be further > developed and be supported by you or anyone else that has the > knowledge to help. I don't think that this is unreasonable. > I am not talking about any specific software but all software. > >Bernie If that is all that you had said, then most would agree with you in principle. To recommend a course of action is not the same as to recommend that anyone not following that course not be on the list or in the archive. When you are asking for the fruits of someone else's labor, words and phrases like "please", "with your permission", and "thank you" carry a lot of weight. I think that I mentioned before that posters of bound and shrouded code should post a copy of the source to RDS as a guarantee against malevolent behaviors. RDS should do the final bind and shroud from source provided them. That would protect us all and protect the intellectual property rights of the poster. The same could be said for source to other items like VEL. The tie would not be as protective, but it would still be more reassuring than the present completely open policy. Maybe some form of EPL(Euphoria Public License) could be developed that would allow RDS to release that source code to the archive and the list if the person or business providing that code dropped maintenance of that code or at least presence on the list for more than a given period of time or if a proven viruslike behavior could be determined. Just a thought for the future. Nobody would be restricted to using that license, but those not using it might end up largely ignored on the list and the archive, especially if the EPL and the purpose behind it is clearly explained in Euphoria documentation. Just a thought for the future. Everett L.(Rett) Williams rett at gvtc.com
10. Re: Buttons in VEL
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Dec 06, 1999
- 323 views
Hello Mark >Hey, I'm trying to make some buttons which can have more than one line of >text on them. I try to put new line characters in the caption, but it >doesnt work. I tried sticking static labels on the buttons. didn't work. > >I'm think i remember VB can do multi line buttons. any ideas how to do it >in >VEL??? > >Thanks, > Mark. have you tried the '\r' character? or "\r\n" or "\n\r"? Just something to try, I have no idea if it works or not. later Lewis Townsend. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com