Found the problem... I was not specifying the location of the icon file and the location was not in the path statement. When running the form in the IDE, the icon never displayed. After compiling the form, it worked great. Thanks!
Greg Grewe
West Chester, Ohio
Hum, I have tried that, but have not had much luck. You have done this and it worked for you? I must have typed something wrong.
Greg Grewe
West Chester, Ohio
Tom,
You could also do something like this...
LOCAL lcCurClassLib
lcCurClassLib=SET("CLASSLIB")
IF !UPPER("Your Class Name") $ lcCurClassLib
SET CLASSLIB TO "Your Class Name" ADDITIVE
ENDIF
Then create your object...
loReportsMenu = CREATEOBJECT('ReportsMenu')
loReportsMenu.Show()...
I am trying to find a way to display special characters in a grids header. For example;
I have a method written in my grid class that when I click on a grid header, it sorts the grid accordingly. I also change the caption of the header to include an up arrow (^) when the header is first...
Here is my final working solution....
Populate the checkboxes
do while not rs.eof
html_str = html_str & "<tr><td><td><td>" & rs("SMM DESCRIPTION") & " - " & _
rs("SMT DAY") & " - " & rs("SMT TIME") & "<td><input type=checkbox name='ministry' size=50...
Thanks Satish, i did catch that earlier. But my main question is how to loop through the values of the checkboxes and if they are checked, how do I include just those values in the e-mail?
I am trying this, but strugling...
for each QSParam in Request.form
if instr(QSParam, "ministry_") =...
Folks, I have a form that displays several posible selections (from a database query) as checkboxes on a form. The code below displays those choices correctly;
<%
query = "select * FROM qry_MinistriesandTimes"
set rs = con.execute(query)
html_str = ""
RecordNumber = 1
do...
Thanks Mike, I did try this over the weekend and though it did work, you are right, the user could not select the disabled item. I may just use a grid and remove the grid lines instead. Should work the same way. Thanks again!
Greg Grewe
West Chester, Ohio
In VFP 9 is it possible to change the color of the text in a listbox dynamically? Sort of like DynamicBackColor in a grid.
Basically I want to change the text color list item if a particular value is true.
I have tried the following to no avail;
FOR i = 1 TO .lstAttendeeName.ListCount
IF...
I am trying to validate a textbox field for a value that is not empty. I am using the following code. I added the code { alert(lcValue) ; } to test the value being passed. When the function fires, the alert "undefined" is displayed. Any help is greatly appreciated.
<script...
I agree and confused. The table ("Access Groups") only has two fields; AccessGroupId and AccessGroupName. The code to poplulate $row_AccessGroups is:
$query_AccessGroups = "SELECT * FROM accessgroups";
$AccessGroups = mysql_query($query_AccessGroups, $connIVC) or die(mysql_error())...
Thanks for this tip. When I change values, the alert displays no data, so it appears that the code below may be a problem;
<option value="<?php echo $row_AccessGroups['AccessGroupID'];?>"
<?php if (!(strcmp($row_AccessGroups['AccessGroupID'], 4))) {echo "SELECTED";} ?>
>...
Marcia,
I am sorry it took so long to reply, I was kind of laid up for a while...
Anyway, to answer your question, I created a class with the property roSetFocus. Within several methods of that class (such as edit records, add records, etc.) instead of manually updating the code to setfocus...
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.