The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
suggestions
#1
thanks for giving us the options to change the editor text font size colors ect.

A couple of suggestions i would love to see
1. a reset button to restore fonts and colors back to default
2. the ability to save and load multiple themes


a couple of other things

this example  from Class ADialog
gives me a warning and multiple errors
C# code:
var d = new ADialog(); //info: another constructor has the same parameters as ShowEx

d.SetText("Main text.", "More text.\nSupports <A HREF=\"link data\">links</A> if you subscribe to HyperlinkClicked event.");
d.SetButtons("1 OK|2 Cancel|3 Custom|4 Custom2");
d.SetIcon(DIcon.Warning);
d.SetExpandedText("Expanded info\nand more info.", true);
d.FlagCanBeMinimized = true;
d.SetRadioButtons("1 r1|2 r2");
d.SetCheckbox("Check");
d.SetTimeout(30, "OK");
d.HyperlinkClicked += e => { ADialog.Show("link clicked", e.LinkHref, owner: e.hwnd); };
d.ButtonClicked += e => { Print(e.Button); if(e.Button == 4) e.DoNotCloseDialog = true; };
d.FlagShowProgressBar = true; d.Timer += e => { e.dialog.Send.Progress(e.TimerTimeMS / 100); };
var r = d.ShowDialog();
Print®;
switch(r.Button) { case 1: Print("OK"); break; case DResult.Timeout: Print("timeout"); break; }

 Compilation: 13 errors, 1 warnings  >>
    Warnings can be disabled in Properties -> noWarnings or warningLevel.
    Warnings for part of code can be disabled with <google>C# #pragma warning.
<open "<0x100000016>|10|1">Script3.cs(10,1): warning CS1702: Assuming assembly reference 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'System.Drawing.Common' matches identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Runtime', you may need to supply runtime policy
<open "<0x100000016>|16|23">Script3.cs(16,23): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|16|27">Script3.cs(16,27): error CS0103: The name 'gt' does not exist in the current context
<open "<0x100000016>|16|62">Script3.cs(16,62): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|16|81">Script3.cs(16,81): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|17|20">Script3.cs(17,20): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|17|24">Script3.cs(17,24): error CS0103: The name 'gt' does not exist in the current context
<open "<0x100000016>|17|36">Script3.cs(17,36): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|17|50">Script3.cs(17,50): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|17|65">Script3.cs(17,65): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|18|42">Script3.cs(18,42): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|18|46">Script3.cs(18,46): error CS0103: The name 'gt' does not exist in the current context
<open "<0x100000016>|18|52">Script3.cs(18,52): error CS0103: The name 'e' does not exist in the current context
<open "<0x100000016>|18|75">Script3.cs(18,75): error CS0103: The name 'e' does not exist in the current context

how to fix?

also this example from helpMethod ADialog.ShowProgress
C# code:
var pd = ADialog.ShowProgress(false, "Working");
for(int i = 1; i <= 100; i++) {
    if(!pd.IsOpen) { Print(pd.Result); break; } //if the user closed the dialog
    pd.Send.Progress(i); //don't need this if marquee
    Thread.Sleep(50); //do something in the loop
}
pd.Send.Close();
 only works when i add
C# code:
using System.Threading;


Messages In This Thread
suggestions - by Kevin - 12-12-2019, 05:01 AM
RE: suggestions - by Gintaras - 12-12-2019, 07:28 AM
RE: suggestions - by Start_Learning - 12-12-2019, 04:30 PM
RE: suggestions - by Gintaras - 12-12-2019, 05:08 PM
RE: suggestions - by Start_Learning - 12-12-2019, 05:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)