i have a grid with the recordsource/columnsource set to an alias.
however i want to change the table for this grid so i have the user select which table using an optiongroup which has a click event that closes the current table and opens a different table with the same alias.
i can't get this...
I've written a javascript html editor but i'm having problems...
I'm using a <div> tag with contenteditable="true" as the main editor window.
the only problem is when i type in it it uses <P> tags for each new line.
this is causing a bouble-spacing effect. how do i keep this from happening...
thank you!
if anyone wants an easy currency formatting function... i just added this so i could just do Money($amount) to any currency floats..
function Money($float) {
return sprintf("%01.2f", $float);
}
Dan Trenz
Ann Arbor, MI
i have a table with a field (float) with the value "1.80" in it.
when i pull that value into a php page, the "0" is lopped off, and i just get "1.80"
how do I get the entire "1.80" to show (without changing the field to varchar)?
thanks
Dan Trenz
Ann Arbor, MI
i can't get this to work, and i cant see why... please help.
<head>
<style>
.mybutton {background-color: white}
</style>
</head>
<body>
<INPUT type=button class=mybutton value="Click Me" OnMouseOver="this.style.background-color='red'" onMouseOut="this.style.background-color='white'">...
i think i fixed it.
DO WHILE !ISALPHA(m.line) AND !(LEFT(m.line,1)=="")
m.line= SUBSTR(m.line,2)
ENDDO
not the prettiest code, but it seems to be working...
thanks rick
Dan Trenz
Ann Arbor, MI
right, would this fix it?
cTrk = thisform.edit1.value
cTrkFinal = ""
FOR i = 1 TO MEMLINES(cTrk)
m.line = ALLTRIM(MLINE(cTrk, i))
DO WHILE !ISALPHA(m.line) AND !EMPTY(m.line)
m.line= SUBSTR(m.line,2)
ENDDO
cTrkFinal = cTrkFinal+m.line+CHR(13)
ENDFOR
thisform.edit1.value = cTrkFinal...
i have a project built as an *.exe
this project is essentially 1 main form.
every once in a while i try pressing one of the buttons to make it do something and it freezes (goes to an hourglass, when it shouldn't). it says it is running in the task manager but it never stops.
at first i...
aha!
thanks, i knew i had used it before, i couldn't remember for the life of me.
wierd, i think it would be much more intuitive if it was simply thisform.sizable = .F.
but oh well.
thank a lot.
Dan Trenz
Ann Arbor, MI
Which property determines whether or not the user can resize the form?
like grid.resizable = .F. but for the entire form window.
Dan Trenz
Ann Arbor, MI
true, but it can handle URLs and browser navigation, i would think that email handling would be the next logical step...
perhaps vfp 9.0?
Dan Trenz
Ann Arbor, MI
haha, my name is Dan, i live in Ann Arbor. haha
anyway, i believe i was on your foxpro site and i saw your ShellExcecute code but it doesn't send programmatically.
i can't believe that foxpro requires another app just to send a simple e-mail...
i've been coding php lately and i'm used to...
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.