Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info.
SEARCH THE FOXITE.COM VISUAL FOXPRO FORUM ARCHIVES
Please enter one or more search terms:
search (case insensitive):


order by:


sort:
SEARCH RESULT Results 1 - 25 of 29098 for button. (1.3450744 seconds)


Returning (SetFocus) back to a Previous Object
Thread ID: 67077 Chris Klim Returning (SetFocus) back to a Previous Object Is there an elegant way to return to a TxtBox (Object) in a form that I am editing if I branch off to another Object, For example. I’m editing a customer maintenance form and I am currently editing the address Field, (It could be any field on the form ). I press the Memo Button. This Memo button Adds a Container Class Object that includes an EditBox Object and a Close Button. I use this to edit the customers’ Memo/Note info. Once I close this Object, the Object is invisible. How do I set focus back to my previous object without explicitly referencing that object? Chris

"ActiveControl is not an object" - ???
Thread ID: 239461 Ilya Rabyy "ActiveControl is not an object" - ??? Colleagues, I have a form with a pageframe, with a grid on one of the pages, and a command button on the form itself. This button's Click event calls another form, with object-parameter; this command button has the following code in its Click procedure: WITH THISFORM.pgfPageRefresh1 IF ATC("Contacts", STRTRAN(.Pages(.ActivePage).Caption, "\<", "")) 0 IF ATC("grdContact", .Pages(.ActivePage).ActiveControl.Name) 0 && Errs loParam.cCon_PK = V_CONTACT.con_PK ENDIF (ATC("grdContact", .Pages(.ActivePage).ActiveControl.Name) 0) ** etc. When it comes to that line with ActiveControl in it - the error

"Add" not working
Thread ID: 349984 alan shulman "Add" not working I used the form wizard to create a simple data entry form. I replaced one textbox with a combobox based on an sql into a cursor on a table that is not the parent table. Now my "add" button is not highlighting. Is there a way to change the parent code of the Load statement so I can put the sql in there? I feel like by adding my sql to the Load, it is doing something to prevent the Add button from being available.

"Blue screen" errors - Help needed
printer drivers and installing again, and redesigning the code where error seemed to happen more often, but it was useless, 'cause after printing, the error can arise anytime i press a button or click a menu, randomly. I compile

"Blue screen" errors - Help needed (Vfp 6.0)
tried uninstalling printer drivers and installing again, and redesigning the code where error seemed to happen more often, but it was useless, 'cause after printing, the error can arise anytime i press a button or click a menu, randomly

"Cannot open the selected table" error
Thread ID: 233261 Ana Aldonate "Cannot open the selected table" error Hi, experts! I have a form with 2 grids and a command button to exit the form. Each grid have a cursor as the recordsource, one is csrComandas and the other is csrDetalles. These cursors are created with CREATE CURSOR and then I use SQL SELECT to fill them with data from a table (I use Andy's Safe Select). Everything is OK until I try to exit the form. The code in the command button to exit the form is: thisform.release close all When I click this command button comes the "Cannot open the selected table" error message, twice. I see that with the first error message, the first grid gets cleared, then with the second

"Cannot quit Visual Foxpro"
Thread ID: 44903 j9119 g "Cannot quit Visual Foxpro" Hi everyboby! We all know this msg ("Cannot quit Visual Foxpro") when we press the "X" button on the upper right corver of the main visual foxpro window. Can we change that? I ask this because a single user who he want to close "myexe",the first thing that he will do is to press this button (X). Any of you will say: Make a top level form without the Main Foxpro window. I khow that but if I want a menu? Can I make a menu on a top level form? Is there a particular reason for "Cannot quit Visual Foxpro"? Thanks!

"Cannot update the cursor" error
Thread ID: 45143 Jenava Taylor "Cannot update the cursor" error I have a form that runs a program when a button is pushed. In the load of the form the needed tables are loaded. However, during the code that is run from the form I need to append blank. When I run the form from the project it runs fine, but when I compile it into an app it gives me an error. The error says "cannot update the cursor , since it is read only." If I suspend, close the table, open it again and resume it works fine. What's wrong? Thanks, Jenava Taylor

"Class not registered" - what class?
Thread ID: 79199 Ilya Rabyy "Class not registered" - what class? Colleagues, Same old, same old: I run my program, it starts fine, does whatever initialization it has to, and displays the initial screen (form). User does whatever (actually - puts together search criteria), and then clicks the "Go" button. Next form launches - and that nasty little message box "OLE error code 0xNNNNN: Class not registered. OLE object is being ignored. Record number N." jumps on your... missing by just lookin on my form since the missing control is... well, missing! And you have to test-run each and every button/function/what-not to get the "Unknown member" or "Property such'n'such not found" error message. Then you'd

"Data type mismatch" Error
Thread ID: 160251 Renjith Mattappallil "Data type mismatch" Error I have two forms X1 and X2. The DataSession Property of the X1 "Private DataSession " and that of X2 is "Default Datasession". From a button in the x1, i am calling the second form X2. In the active event of the form X1 "Thisfom.reresh" is there. I have called X2 form the X1. After relesing the form X2, When it is commeng bak to X1, "thisfrom.refresh" is showing datatype mismatch error. I am unable to trase the problem. Can anybody help me regarding this issue. This error will not come if the DataSession property Of X2 is Private

"File ...vcx in use / can't be compiled"
Thread ID: 266858 Samir H. "File ...vcx in use / can't be compiled" Hi all, When building my exe, I have the following messages: 1. First build ...compiling vcx_1.vcx... "File vcx_2.vcx in use and can't be compiled" I click "ignore" ...compiling vcx_3.vcx... "File vcx_4.vcx in use and can't be compiled" I click "ignore" I repeat the build right away 2. Second build ...compiling vcx_1.vcx... ...compiling vcx_2.vcx... ...compiling vcx_3.vcx... "File vcx_4.vcx in use and can't be compiled" I click "ignore" 3. At third build all are compiled Q1: May be somebody knows why this happens? (All designers are closed, I build from the project manager with "Build" button, "Recompile All") Q

"File is in use" message
Thread ID: 91570 super manny "File is in use" message hello experts! in using two or more forms, example i am in form1 and i click a button to go to form5, then i am now at form5, when i click another button to go to form1 i get "file in use" message... thank you! -manny

"Not a table" Error
Thread ID: 52075 Nilson Rishi "Not a table" Error Experts, I clicked the ADD button on a form. An error message shows reading something like "Error 15, Not a Table". Why is this? Wha are thos epossible scenario? How I deal withall those possible scenarioo one by one? Regards, Nilson

"Read your options"
Thread ID: 55450 Pete Sass "Read your options" You need to set your forms windowtype as modeless and the showwindow to in screen, you also need a read events in your main program after you call your first form. > > Then you can call your second form from the first form with do form secondform. > I think this is what you are after? > yes i think this is what i want i had some thoughts in mind...that to add a button in each form that trigger a list of all other forms... this ability to call other forms that make sense from the main invoicing screen. As a good example I want to verify inventory stock levels, prior to generating the invoice...so I have the command button to call this via "Do form

"Reply button" ref: Thread no 74394
Thread ID: 74406 Sunil Sawant "Reply button" ref: Thread no 74394 Dear Experts, This is ref. to thread no 74394. Sir Eric, I'm using Internet explorer. As per your instruction I have cleared the browser's cache. Refreshed the paged many time, but in vain. I'll write the name of buttons in order of appearance on my screen, Post new message window: New,Display,enabled systex coloring, B,I,U, attachment, Options,Download,goto articles,Home. and logout On thread window the button that I can see are: Home, SignUp, Forum, archives, search, articles, downloads, links, members, weblogs That's it, There is no 'Reply' Button . As Mr.Jozef said "When you reply, the new button changes

"Resource file is invalid"
Thread ID: 83290 Ken Murphy "Resource file is invalid" I have this app that I need to run every night (after the office is closed.) After creating and testing the app on my local computer, I copied the EXE to the server and ran it there (runs like a charm.) I then added it as a sheduled task and set the schedule for a few minutes from now. Hit the apply button and wait. It starts up and then gives me an error "Invalid resource file" or something like that and do I wish to recreate it? Click Yes and away it completes properly. OK, what do I need a resource file for? No proplem SET RESOURCE OFF and it should work, right? Same error message. OK, SET SAFETY OFF and see if this solves the problem, nope

"Source out of date" - revisiting
Thread ID: 167217 Ilya Rabyy "Source out of date" - revisiting Colleagues, I am getting this notorious "Source is out of date" line in the debugger when my PRG (run off the Command window in VFP's IDE) hiccups, and I hit "Suspend" button and then go to Tools\Debugger. I did erase FXP for this program; this had no effect whatsoever. What else can be done? TIA! Regards, Ilya

"STOP" Button
Thread ID: 35589 Cheryl Bellucci "STOP" Button I have a form that allows the user to click on a "START" button when the user wants the process to start. (Easy enough...) What the process does is go out and check dbf statuses, process records, update date/time stamps, etc., in one big DO WHILE loop. (Yeah, I realize that's probably not good... would welcome other suggestions on that as well...) There are INKEY calls within the loop to allow the processor to pause when it can't find anything to do. What I have is a big "STOP" button on the form so that the user can click on it when he/she wants to end the process. Problem is, I can't seem to click on it. That is, even though it is enabled, I

"thisform.release" not working
Thread ID: 4428 Stephen Ehigie "thisform.release" not working I refer to the following code which I placed in the click event of my form (modal) button. The form does not get released even though I could watch the lines inside the IF...ENDIF statement execute from the debugging window. wait ("Preprocessing bank statement entries. Please wait...") window nowait okay=stmtimport(fname,mperiod) if .not. okay wait clear close databases thisform.release endif Stephen

"Unread" button with "ID" filter doesn't
Thread ID: 272273 Stefan Wuebbe "Unread" button with "ID" filter doesn't Hi Eric, Probably not extremely important: The "Mark Message as Unread" button does not work with "ID" filter. Steps: - Thread Filter "ID" = 188188 && any ID probably - Click "Mark Message as Unread" button --Observed: Message is not marked as unread Best Regards -Stefan

$.02
Thread ID: 11819 Ken Blum $.02 If you have a Microsoft ListView control on a form, and have this populated with data, also have a command button on the form which the Click Event contains ThisForm.Release() > Now if you have some method that loops through the Listitems using the following: FOR EACH loItem IN ThisForm.oleListView.ListItems lcText = loItem.Text wait "lcText = " + lcText WINDOW ENDFOR > Now if you try and click on the Command Button which closes the form, it will not close, the click event fires but the Release Event will not. I have tried reseting the loItem to .NULL. after the loop, then issuing a RELEASE loItem, this still does not work. > The only workaround

&Cmd
Thread ID: 85653 Bart Rouan &Cmd Hi I am using the following command to build buttons on a screen: Cmd = "This.Command" + Allt(Str(DirectoryQuery.Button)) + ".Caption = '" + DirectoryQuery.DirName + "'" &Cmd The problem is that w...

'***'
Thread ID: 1410 Thomas Holt '***' Hello Say i was entering some data into a table via a form and then adding the data by pressing a button which uses code to check the value, if the data i enter contains a ' or a " is this likely to cause problems with the code getting confused? tia Tom

'rebind' a grid to a table
Thread ID: 18836 bleech67 toms 'rebind' a grid to a table Hello All, "I gots me another problem" I have this senoir programmer that is in California telling me to use the 'CLOSE DATA' after every SQL SELECT(to be safe). To be specific, after I issue this command, my grid goes totally blank (grid lines disappear) Here is my code for the cmd button: SET EXCL OFF m0tmpf1 = (m0temp) + SUBS(SYS(2015),3,10)&&temp for deallocate **SQL SELECT INTO A TEMP TABLE (m0tmpf1) SELECT sono, custno, sodate, prnpktk ; FROM (m0somastf); WHERE sostat = " " AND sotype $ " O" ; AND sono NOT IN(SELECT sono FROM (m0icwdall)) ; INTO TABLE (m0tmpf1) ; ORDER BY 1 CLOSE DATA &&(TO BE SAFE) **(m0tmpf2

'Return' on class click
Thread ID: 409358 chaim dudi 'Return' on class click Hi experts, I have Container class with command button and two textboxes for ids range (txtidfrom, txtidto). Code of the class command button click: local iidfrom,iiidto store 0 to iidfrom,iiidto iidfrom =int(val(this.parent.txtidfrom.value)) iiidto =int(val(this.parent.txtidto.value)) if iidfrom>iiidto this.parent. txtidfrom.setfocus =messagebox('Invalid Ids Range!',0+16,oapp.msgtitle) return&& When I add this class on form, I start the click with dodefault() VFP give the error message but continue (ignoring the 'return') Thank for help


Result Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164