@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11



Comments:

<0> mada: did you check torry's? or codecentral too
<1> yes, but couldn't find any..
<2> Mada__: I'm sure www.torry.ru has such components
<1> maybe I'm searching for the wrong keywords :(
<0> sticky forms
<1> thank you.
<2> Mada__: and the newer Delphi versions have it standard
<1> what version?
<1> I have delphi 7
<2> no, the newer versions have a ScreenSnap proeprty
<2> property
<3> i'm using D7 and there i haven't found anything like that
<0> http://groups.google.com/groups?hl=en&lr=&c2coff=1&q=sticky%20forms%20delphi&btnG=Search&sa=N&tab=wg
<1> ScreenSnap determines whether the edges of the form snap to the edge of the screen when the user moves the form. To control the snap distance, set the SnapBuffer property.
<1> I need the forms to snap to the edge of the main form, not just the screen
<3> lol



<3> weird i never noticed that
<4> yawn
<5> does anybody know of a way to keep a control from showing a focus outline?
<5> i need to float an edit control over a checkbox and the focusrect looks weird with the textbox over it
<6> is it possible to create forms in a console app, and then hide the console/de-attach ?
<7> yeah
<7> well i haven't hid the console yet but i've had forms in a console app before
<7> i'm sure theres a way to do it
<6> I know that apps like windrop (eggdrop port) can do it, though I'm not sure if it launches another app after doing the output
<6> isn't it possible to relaunch the app with like SW_HIDE?
<7> idnno it got a little messy the way i was doing it because you have to show the form from the console (project) source,
<7> honestly sometimes i hate when people ask this but - without giving out the whole idea behind yer app what are you trying to do?
<6> I want to make people able to choose whether they want it run in a console or as a normal app
<7> hmm
<7> with like command line parameters?
<6> I've done it with AttachConsole but it really ****s
<6> yes
<6> it's my own scripting engine I want to do a to-exe project so they can throw it all into a exe and then share that instead
<6> as I said, AttachConsole "works"
<6> but it looks weird and I think it's a bad way to do it
<6> and if you use AttachConsole and hit return, it stops the app
<7> What would be the different functionality of the gui vs the command line?
<7> same functionality only different interface?
<6> it excludes all the gui stuff, using less memory and such
<7> i mean even when you look back at TC and TCC - The IDE actually ran the TC.EXE application i think, and got results back through what the compiler printed as output
<7> i'm pretty sure thats how it went down anyway not 100% positive
<6> ye but I would like not to have two different projects
<6> that's why I'm doing it
<7> yeah i can see that
<6> but would WinExec(path,SW_HIDE); work you think?
<7> To run the console app?
<6> yes
<7> i mean yeah it would,
<6> because then the console could just create forms if necessary
<6> but it was hidden then
<7> it'd probably be fine to do it that way
<6> is it possible to convert to console app without messing up delphi?
<6> D7*
<6> I would insert {$APPTYPE CONSOLE} and remove .dfm and the Application.Initalize and such
<6> but won't delphi complain then?
<7> I usually start with console and add forms when i do stuff like that
<7> i mean this is a little thing i just did right now adding a form to a console app http://rafb.net/paste/results/S9DPCw90.html
<7> so you can still have stuff in the console area - it gets messy when i do stuff like this - i haven't really found a good solution.
<6> so you can still initialize the application cl***
<6> ?
<7> and then u got yer show and showmodal and all that fun stuff to play around with - returning control back to the console from the form, accessing data in the console application from the form (which i haven't really found a way that i feel good about to do yet)
<7> yeah.
<7> just don't run the form until yer ready to show it.
<6> meaning the app won't exit due to application.initialize?
<7> no
<7> it won't
<6> good
<7> i'm not sure how it would look in (non windows) dos tho but idunno if yer doin stuff like that
<7> or how it would work
<7> but like - you have yer data and procs that you've written in your console app - i don't know how to access those from the form.
<7> as far as the data- i just made vars in the form's code - then p***ed all that information before i .Run'd it. but i couldn't figure out how to call functions in my Windows Form from the console part. I gues you could p*** a pointer to the function and stuff.
<6> I have no problems with that :)
<7> ok cool. good luck then :)
<6> it would be great with like HideConsole
<6> I guess it's possible to write one by fetching processes and such
<7> brb



<8> re topic: :(
<6> how do you kill a process in windows when it keeps jumping around in process manager?
<4> jumping around?
<6> yes, my app keeps changing position in the list
<6> causing 100% cpu atm
<4> have u arranged it my cpu usage or something?
<8> Kn00n: sort by name
<4> arrange it by name
<8> vid card fried :(
<8> now i gotta return it
<8> h***le....
<4> haha
<6> I can't get it to stop
<6> even when sorting
<6> it won't let me stop it :S
<4> reboot
<8> Kn00n: service then
<4> you can kill services
<4> depends on what they run as
<6> my app is not a service :S
<4> reboot then
<6> I just ran the console app with SW_HIDE
<8> Blade^: not system services ?
<4> lord: yes even system services
<8> Kn00n: then why cant you kill it?
<8> Blade^: i always get "unable to kill process" or something like that
<4> lord: yeh some u can't
<6> I don't know
<4> knoon: reb
<4> reboot then
<4> for the 90th time
<6> I can't reboot atm ... doing an encoding
<4> haha
<4> o well
<6> windows ****s when it can't even kill an app
<6> perhaps Microsoft should fix that, since people doing virus can easily do this so the user has no chance of killing the app
<0> i'm learning how to write delphi experts the hard way.
<0> today i learned that delphi doesn't like it when you access the OTA interfaces off of the main thread
<4> Chunk: working with the IDE is never easy
<4> \Chuck
<0> i like chunk
<4> :)
<0> better than chucky
<0> but i just parsed my first project inside a delphi expert
<4> accessing is fine though
<0> so its a milestone
<4> as long as you synchronize
<4> :)
<0> right thats what i just found out
<0> i was getting an a/v in a random place, had me scratching my head for about an hour
<6> great
<6> found a tool called pskill
<6> it could kill it
<4> hmmm
<4> Chuck: its the same with any threaded apps realting to VCL, it's easy for forget that the IOTA* deal with the IDE vcl too
<9> Kn00n, if the task manager cant kill it with End Process no 3rd party app will beable to kill it either
<4> task manager sometimes gets stuck itself however
<8> Blade^: found the fault, one tiny tiny IC fried on the card :/
<4> lord: heh, replace it :)
<9> Blade^, only if you use the End Task
<8> Blade^: riiight :D
<8> Blade^: ill replace the card ;)
<6> well, it did
<4> TAtari: no, even with End Process
<6> sorry to disappoint you :)
<6> it was like the process list were refreshed every half second
<4> TAtari: trust me, I've tried to End Process apps before and they just wouldn't die
<9> Blade^, never happened to me
<6> /changing process id or so
<4> it wont change process id though
<4> the only way it can do that, is by reloading itself
<6> hmm, could be that
<6> it makes sense
<6> 2 sec, checking my src


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #delphi
or
Go to some related logs:

dragons-lair java mobile
#sex
#computers
#ubuntu
what is bootfont.
parallel port /dev/parport0 is used by another program
is the word renig slang
hari christna
#hardware
#photoshop



Home  |  disclaimer  |  contact  |  submit quotes