RO Ids need to be lower case when sent to RO Editor
This commit is contained in:
		@@ -449,6 +449,7 @@ namespace Volian.Controls.Library
 | 
				
			|||||||
						string valtxt = ConvertSymbolsAndStuff(selectedChld.value);
 | 
											string valtxt = ConvertSymbolsAndStuff(selectedChld.value);
 | 
				
			||||||
						_MyRTB.InsertRO(valtxt, linktxt);
 | 
											_MyRTB.InsertRO(valtxt, linktxt);
 | 
				
			||||||
						_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length + linktxt.Length, 0);
 | 
											_MyRTB.Select(_MyRTB.SelectionStart + valtxt.Length + linktxt.Length, 0);
 | 
				
			||||||
 | 
											_MyRTB.SaveText();
 | 
				
			||||||
						_MyRTB.Focus();
 | 
											_MyRTB.Focus();
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					_MyRTB.inRoAdd = false;
 | 
										_MyRTB.inRoAdd = false;
 | 
				
			||||||
@@ -864,11 +865,9 @@ namespace Volian.Controls.Library
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		private void lbROId_DoubleClick(object sender, EventArgs e)
 | 
							private void lbROId_DoubleClick(object sender, EventArgs e)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			// TODO: This is hard-coded to particular folders
 | 
					 | 
				
			||||||
			//System.Diagnostics.Process.Start(@"C:\VE-PROMS.NET\BIN\RoEditor.EXE",@"c:\Plant\hlp\vehlp\ro " + CurROLink.ROID);
 | 
					 | 
				
			||||||
			string roapp = Environment.GetEnvironmentVariable("roapp");
 | 
								string roapp = Environment.GetEnvironmentVariable("roapp");
 | 
				
			||||||
			string roloc = "\"" + _MyROFST.MyRODb.FolderPath + "\"";
 | 
								string args = "\"" + _MyROFST.MyRODb.FolderPath + "\" " + CurROLink.ROID.ToLower();
 | 
				
			||||||
			System.Diagnostics.Process.Start(roapp, roloc + " " + CurROLink.ROID);
 | 
								System.Diagnostics.Process.Start(roapp, args);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		#endregion
 | 
							#endregion
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user