Sha256: 33718434b5c22ced5f2574abb6e95e6dee3e090118f253bc43fb79ebd12d8a2c

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 KB

Contents

# this code is to call the help window
def runhelpwindow
 
 if @rwd_window == "main"
   if @rwd_tab == "documentsrwdtinkerone"
     $help_topic = "documents_rwdtinker"
   end
   helptopicsarray = ["general_help", "network_help","applet_installation","applet_viewing"]
   $previouswindow = @rwd_window
   $previoustab = @rwd_tab
   
end  

 if @rwd_window == "tinkerbackwindow"
    if @rwd_tab == "filelister" 
       $help_topic = "applet_viewing"
       helptopicsarray = ["applet_installation","general_help", "network_help"]
    end
      if @rwd_tab == "zipslister" 
       $help_topic = "applet_installation"
       helptopicsarray = ["applet_installation","applet_viewing","general_help", "network_help"]
    end
     if @rwd_tab == "editconfigurationfile"
       $help_topic = "applet_tinkerbackeditconfiguration"
       helptopicsarray = ["applet_installation","applet_viewing","general_help", "network_help"]
    end
     
       $previouswindow = @rwd_window
      $previoustab = @rwd_tab
  end 
   if @rwd_window == "rwdtinkerhelpwindow"
     helptopicsarray = ["general_help", "network_help","applet_installation","applet_viewing"]
   end
  @rwdhelptopic = $help_topic
  @rwdhelpdataoutput      = "#{Helptext[:"#{$help_topic}"]}"
  @rwdhelpsubchoicesoutput = helptopicsarray.rwd_method("choosenewhelptopic")
  @rwd_window = "rwdtinkerhelpwindow"
end
 
 def choosenewhelptopic(inffile)
  $help_topic                 = inffile
  runhelpwindow
  end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdtinker-1.47 code/01rwdcore/openhelpwindow.rb
rwdtinker-1.46 code/01rwdcore/openhelpwindow.rb