sketchucation logo sketchucation
    • Login
    1. Home
    2. DerekEhrman
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    DerekEhrman

    @DerekEhrman

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    DerekEhrman Unfollow Follow
    registered-users

    Latest posts made by DerekEhrman

    • RE: Is it possible to extend UI.inputbox?

      Todd: I sincerely appreciate the offer but must decline for a number of reasons. Besides, what's the fun in having someone else do it for me when I now have an excuse to pick up javascript and DHTML? πŸ˜„ This is for a propietary in-house plugin so it would also be slightly unethical for me to just take someone elses code, freely offered or not. But again, thank you for the generosity!

      Jim: thanks for the link, that looks like a great place to get me started!

      If I have questions along the way it seems this is a good place to ask, glad I've found it!

      posted in Developers' Forum
      D
      DerekEhrman
    • Is it possible to extend UI.inputbox?

      I'm assuming the answer here is to use WebDialog. However, there are only one or two things I would like to modify about the UI.inputbox and I have no javascript or DHTML experience so there would be time involved for me to ramp up on that stuff to make the WebDialog at all useful.

      Perhaps some specifics are in order:

      I would like to be able to modify the buttons and their functionality on an inputbox. So, instead of the standard OK and CANCEL buttons I would like to have Apply and Cancel buttons. The underlying functionality would be the same for the Cancel button, but on Apply I would simply like to perform some actions in my plugin, but allow the inputbox to remain open.

      I would also like it to be non-modal so that I can select various objects in the scene (and of course fields in the input box would need to update based on the active_model's attributes πŸ˜„). Are things like this even possible? The docs for the UI.inputbox don't appear to suggest that they are, but I'm hoping to avoid having to use WebDialog for the time being unless absolutely necessary.

      Thanks in advance for any advice/insight

      posted in Developers' Forum
      D
      DerekEhrman