rejetto forum

Address bar idea, again.

TSG · 11 · 5086

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
I was wondering if we could turn the address bar in HFS into a drop down with the ability to still customise it, It would have 4 options.

IP URL
DNS URL
LOCAL URL
NETWORK URL

Cause going to Menu > IP Address  to change it to my IP address or network IP is driving me insane!


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
I didn't understand the problem.
Please be clearer.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
The address bar in HFS. I was wondering if that could be changed to a large drop down combo box that has 4 options.

EXTERNAL IP URL  - http://IP:Port/Folder...
DNS URL             - http://DNS:Port/Folder...
LOCAL IP URL       - http://IP:Port/Folder...
NETWORK IP URL  - http://IP:Port/Folder...

So that way it is easy to select and copy a link for the desired purpose, you could even make it that just selecting an option copies it to clipboard. Instead of creating on default. I find mine tends to default to my network IP and it is really annoying to have to go hunting for the IP Address >  EXTERNAL IP. Apparently this is because im using the HFS DNS Updater, but with a drop down it would be one click and you can see all 4 options.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
Menu > IP Address >  select the correct IP

It is as you research


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
The idea is to eliminate the need to always go to that mars.


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Thanks for an actual working idea of this!

I sent you a PM mars, but I like to keep the talk public. The idea isn't what i meant, what i mean is like a combo box drop down of the current address bar, with the available link options in there, when you choose one it copies it automatically to clipboard. So basically you have a fast way to choose whether to send the link with local, network, external or even dns.

I cant program the hfs language if you don't understand what i mean i will make a screenshot.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
Here is everything, there is not more than to discuss it with Rejetto.

main.dfm some lines added
Quote
object ToolBar2: TToolBar
    Left = 0
    Top = 24
    Width = 752
    Height = 22
    AutoSize = True
    ButtonWidth = 104
    Caption = 'ToolBar2'
    GradientEndColor = 14079702
    Images = images
    List = True
    ShowCaptions = True
    TabOrder = 3
    Wrapable = False
    DesignSize = (
      752
      22)
    object browseBtn: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = 'Open in browser'
      ImageIndex = 26
      OnClick = browseBtnClick
    end
    object ToolButton3: TToolButton
      Left = 108
      Top = 0
      Width = 8
      Caption = 'ToolButton3'
      ImageIndex = 27
      Style = tbsSeparator
    end
    object URL2ClipBoardBtn: TSpeedButton
      Left = 116
      Top = 0
      Width = 28
      Height = 22
      Hint = 'Copy to Clipboard'
      Align = alRight
      Flat = True
      Glyph.Data = {
        36040000424D3604000000000000360000002800000010000000100000000100
        2000000000000004000000000000000000000000000000000000FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00C9A9A300D0AFA900E0B2A800E0B2A800E0B2
        A800E0B2A800E0B2A800E0B2A800E0B2A800C4958E00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00CDABA300E4D4C700F6EFE700F6EFE700F6EF
        E700F6EFE700F6EFE700F6EFE700F6EFE700D8B29B00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00CFB0AA00EAD8CB00F9EADA00FBE7D300FBE4
        CD00FBE3C900FBE3C900FBDFBF00F7E9D900D8B29B00FF00FF00FF00FF00C2A5
        A200C2979000C2979000C2979000BC918800E7DBD400F9DFC400FBD7B300FBD7
        B300FBD7B300FBD7B300FDD7B200F7E7D500D9B39C00FF00FF00FF00FF00C2A5
        A200F8E6DD00F8E6DD00F8E6DD00D6B0A100EDDFD500F9E4CC00FBDFBF00FBDF
        BF00FBDFBF00FBDFBF00F5DBB800F5E8D700DCB79E00FF00FF00FF00FF00C5A7
        A200F6EDE200F8E9D800F9E9D700DAB49E00EFE3DB00F9DFC400FBD7B300FBD7
        B300FBD7B300FBD7B300FBD7B300F7E7D500DDB8A000FF00FF00FF00FF00CDAB
        A300F8E5D100FED1A500FED1A300E3B28E00F2E9E000FAE8D600FBE3C900FBE3
        C900FBE3C900FBE3C900FBE3C900F7EBDD00E0BBA300FF00FF00FF00FF00CEAD
        A700F7EDE300F8E9D800F8E9D800E5BDA200F4ECE400FDE6CF00FEDCBB00FDDB
        B900FEDAB500FED9B400FED8B200F8E7D500E0BBA300FF00FF00FF00FF00D1B3
        AD00FAE7D400FED1A500FED1A500EAB99400F8F0E900FFFEFE00FEFEFE00FEFA
        F900FEF8EF00FEF4EA00FEEFDF00F7D4C900E2A39800FF00FF00FF00FF00DCBB
        AB00FAF4EF00FEEFE000FEECD900EEC7A800FAF2EA00FDFEFE00FEFEFE00FEFE
        FD00FEFBF900FEF9F100E5D0C800C48F7700BE8D7F00FF00FF00FF00FF00E3C1
        AD00FBEDDE00FED1A500FED1A500F2C39800FDF4EA00FDFEFC00FAFBFA00FAF8
        F800F6F6F600F5F3F100DECCC800D8A58200FF00FF00FF00FF00FF00FF00E9C7
        B000FCFCFD00FFFEFE00FEFCF800F6DFC900E7C2A800E7C0A600E2B69A00DAA8
        8B00D7A99000E7C5AF00DEBCAB00FF00FF00FF00FF00FF00FF00FF00FF00ECCB
        B300FEFDFD00FFFFFE00FEFEFE00FEFCFA00FEF8F100FEF5EA00C89C8E00BF8E
        8000CDABA300FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F3D3
        B600FEFEFE00FEFEFE00FDFEFD00FCFCFC00FCFAF700FCF7F000C9957A00E3B5
        8F00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00F3D3
        B600E7C4AE00E7C4AE00E6C4AD00E5C2AC00E5C2AC00E5C1A900C4978800FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      ParentShowHint = False
      ShowHint = True
      OnClick = URL2ClipBoardBtnClick
    end

    object urlBox: TEdit
      Left = 144
      Top = 0
      Width = 200
      Height = 22
      Anchors = [akLeft, akTop, akBottom]
      TabOrder = 0
      Text = 'Easy Mode'
    end
    object urlComboBox: TComboBox
      Left = 344
      Top = 0
      Width = 200
      Height = 21
      Anchors = [akLeft, akTop, akBottom]
      ItemHeight = 13
      TabOrder = 1
      Text = 'Expert Mode'
      OnDropDown = urlComboBoxDropdown
      OnSelect = urlComboBoxSelect
    end

  end


main.pas

all lines added or modified are identified by  // ... by mars

next post give a download of hfs build 177  with only this update
« Last Edit: February 11, 2008, 12:16:18 PM by mars »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
HFS build 177 from Rejetto with Update of last post above

Quote
The address bar in HFS. I was wondering if that could be changed to a large drop down combo box that has 4 options.

EXTERNAL IP URL  - http://IP:Port/Folder...
DNS URL             - http://DNS:Port/Folder...
LOCAL IP URL       - http://IP:Port/Folder...
NETWORK IP URL  - http://IP:Port/Folder...

So that way it is easy to select and copy a link for the desired purpose, you could even make it that just selecting an option copies it to clipboard. Instead of creating on default. I find mine tends to default to my network IP and it is really annoying to have to go hunting for the IP Address >  EXTERNAL IP. Apparently this is because im using the HFS DNS Updater, but with a drop down it would be one click and you can see all 4 options.
« Last Edit: February 11, 2008, 12:14:44 PM by mars »


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Perfect. :D Exactly how I imagined it. Can this be in 178 plz rejetto ;)

The only other GUI improvement that i think would make HFS better, would be to move the log search bar to where it says 'Log', and extend the 'Search', to 'Search Log' [ ], cause i think it is pretty obvious that it is the log, there is no need for a huge blank title bar.

This way, in easy mode, you see just 'Log' then in expert you have the Search Log [ ] bar. cause an expert user doesn't need to know with a basic title that it is the log, having the title there is pointless, i say just remove it and change the text to 'Search Log' for search.

EDIT: Yes after more thought I am liking the idea, it will give the HFS header a more sleek look, its kind of jagged and harsh with the search sorta popped there.
« Last Edit: February 06, 2008, 04:13:58 PM by That_Stevens_Guy »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
Quote
The only other GUI improvement that i think would make HFS better, would be to move the log search bar to where it says 'Log', and extend the 'Search', to 'Search Log' [ ], cause i think it is pretty obvious that it is the log, there is no need for a huge blank title bar.

just one line in main .pas  and  change 'Search'  to 'Log Search' in  main.dfm


Quote
procedure TmainFrm.logBoxChange(Sender: TObject);
begin
logTitle.visible:=easyMode and (logBox.Lines.count = 0);
logToolbar.Visible:=not easyMode and (logBox.Lines.count > 0);
logTitle.visible:=not logToolbar.Visible;
end;

« Last Edit: February 11, 2008, 12:15:26 PM by mars »


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
The log search is exactly what i meant.  ;) Well except that it should be 'Search Log' cause Log Search sounds funny (in English).

Do you think the clipboard button is necessary for the address bar? If you think so i think it is better off on the far right next to the arrow. But thats just me. Also the seperators are a bit odd, so maybe it is better off on the far right.

I say remove the address bar copy to clipboard button. Change 'Log Search' to 'Search Log' and we have a winner :D

I would suggest turning the up and down arrows on search back to how they were but i wonder if this was done on purpose?
« Last Edit: February 07, 2008, 05:40:35 AM by That_Stevens_Guy »