🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Hyper View browser tab

User: "Beta"
New Altair Community Member
Updated by Beta

Hi,

 I am trying to create a new tab in HyperView broswer. 

 

I was able to do that with 

 post browser add 'new tab' command

 However, each time I run the code, the new tab always showed up on the left side. I wish to display it on the right side as in the picture below.

 

Is it possible to do that???

 

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.b9d7dc6eadde666de488806a55682236.png

Find more posts tagged with

Sort by:
1 - 7 of 71
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Where did you find syntax of 'post browser' command?

     

    I don't know that proc but a direct way to add tab on the right

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    I found that command in this path:

    C:\Program Files\Altair\2017\hw\tcl\hw\docs\browser.html

    Please help me if you find out another way to do the task?/

    User: "tinh"
    Altair Community Member
    Updated by tinh
    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    hi Tinh,

     

    Thank you very much!

     

    May I know how you can find out those codes.

     

    I know about hwtk, but I could not find out the path of tk frame in HyperView

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hwtk utilizes itcl/itk package to generate classes & objects in OOP

    You can find them out by ::itcl::find or winfo command

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    Thank you very much for your answer

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    Hi Tinh,

     

    I am failed to use your suggested command with right_proj. Below is the code I used:

     .mainFrame.center.f1.right_proj add [hwtk::pane .newTab -text 'New Tab']

    Then I change 'f1' to 'f2' and it worked. I think the frame path for the right side could be different.