Above code is working fine on blank form but I found that lostfocus call automatically whenever focus goes to any control on same form.
For example when I put a textbox control on form, form lostfocus event called automatically after form.show call, so form disapears right after show.
I am...
Thanks TipGiver.
your solution is very easy. I tried your idea in following code. Because I need behaviour of showdialog (pause processing untill form close), So using while loop until form close. Please suggest, is there simpler way?
<<<<<<<<<< CODE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...
Can i close a dialog (child) form by clicking outside the boundries of form. Actuall I want a form to behave like a popup, but show as a dialog form. Is it possible?
thanks
I hosted my website on my home computer, but since last 3 days I am feeling somebody contineously sending requests to website , Its like a bombardment on my website. As I have a low bandwidth only 128kb upload and 1mb download speed. So can not afford continuous requests to website. Just want to...
for example at this time my internet ip is 74.113.225.69
And you can see my site at http://74.113.225.69
But If I type this address at same (hosting) computer it does not work. Instead, if I enter http://localhost it works.
I am using D-Link DVG 1120 router. You mean, I can not access external...
I am running Apache web server on my home computer on winxp behind a dlink router. I forwarded port 80 to this computer. Now I can access my website from outside (any other computer on internet using ISP's given ip address) but when I type ISP's given IP address on same (home) computer, browser...
thanks again sleipnir214!
That was the actual solution i was looking for. and Sorry! I could not explain actual problem in start of thread.
also thanks Kozusnik! his example helped me, how to put values of single column in array, for all rows.
Zianole
Actually i was looking for to loop every column (field) of feched database row without directly pointing the name of field. for example in above Kozusnik example,
$i=0;
foreach ($rows as $row){
$id[$i] = $row['id'];
$i++;
}
Is it possible to loop every field of every row (nested loop).
$i=0...
Thanks sleipnir214!
I tested, its working in my php version.
Can I ask, how can i loop all variables (properties)?
I tried following code but an error raised
for($b=0; $b<=5; $b++;){
echo $a->{$b};
}
instead of providing name ($b = 'bar';) I tried to use number ($b = 1;) but php raised an...
How can i access a field value through variable name
for example
if id is database table column then through
$row->id;
i can get its value but if i want to use a variable like
$var="id";
$row->anyfunction($var);
is there a way to to this?
I have IE6, browser gets stuck for 20 seconds on any submit button click (for example if I will press "Submit post" button in tek-tips posting thread window, it will stuck for almost 20 seconds). I tried to restore advance internet explorer options, but could not fix it?
My antivirus software...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.