Announcement

Collapse
No announcement yet.

%EditorNoEdit no working!!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • %EditorNoEdit no working!!!

    In PB/Vision when I try and use the command:

    EditorMode formHandle%, ButtonID%, %EDITNOEDIT, 1

    I get error 460 Undefined equate on %EDITNOEDIT option.

    Why am i getting this. The other options such as %EDITORWRAP work fine. But not the NoEdit one!

    The manual tells me for this command to look for examples in editdemo.bas but this file does not even use the EditorMode procedure!!!


    Also in reading up on the EditorSwapFile I came across this statment:

    Warning:
    PowerBASIC's "NAME" function has a major bug that can damage your drives FAT table. As shown in this example, use the "RENAME" function included with PB/VISION.

    I'm wondering what is this problem with the NAME function and has PowerBasic have a patch for it. Because alot of my programs use this function in the program.

    Bobby

    ------------------
    Bobby Gage II

  • #2
    I'll check into the equate issue when I get back to my office.

    The NAME problem is *NOT* a PowerBASIC problem, but a network redirector problem with some versions of Microsoft Networking. A very simple solution to correct the problem is documented in the FAQ forum (you follow NAME with a DIR$() lookup) and has been for some time.

    I'll ask R&D to "correct" the documentation in the file that incorrectly says this is a PowerBASIC bug. Thanks for bringing this to our attention.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      I've search my archives for the equate definition, but I do not have it. I've asked R&D to let me know what the value should be set to.

      I'll post it here when they get back to me.



      ------------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment


      • #4
        I seem to have the same trouble with the editor problem in pb\vision.


        ------------------
        Noble D. Bell - Owner
        Noble Software Publishing
        http://www.noblesoftware.bizland.com
        Noble D. Bell - Owner
        Noble Software Publishing
        http://www.noblesoftware.com

        Comment


        • #5
          Ok, there is nothing in the other files on this mode because R&D tell me that %EditorNoEdit is actually a documentation error! There is no such mode available.

          Likewise, %EDITORBARLEN is incorrectly described too - this mode is not implemented in PB/Vision either.

          ------------------
          Lance
          PowerBASIC Support
          mailto:[email protected][email protected]</A>
          Lance
          mailto:[email protected]

          Comment


          • #6
            So how can I make it so the user can't edit the edit button? I only need it so my users can view data and not change it.

            If you can't use the EditorMode command to change it how would you recommend it? I have both PB/Vision and PB/Workshop.

            ------------------
            Bobby Gage II

            Comment


            • #7
              Originally posted by Bobby Gage:
              So how can I make it so the user can't edit the edit button? I only need it so my users can view data and not change it.

              If you can't use the EditorMode command to change it how would you recommend it? I have both PB/Vision and PB/Workshop.
              You could more than likely disable the control after you load the
              text into it. This however will only work on text that does not fill
              one screen. If there is more text then you could fix it so that whatever
              the user should do to the text it would not save changes.

              That is the way that I am going to have to do it.

              nb



              ------------------
              Noble D. Bell - Owner
              Noble Software Publishing
              http://www.noblesoftware.bizland.com
              Noble D. Bell - Owner
              Noble Software Publishing
              http://www.noblesoftware.com

              Comment

              Working...
              X