Tag Info

New answers tagged

0

It seems you can't have everything in one, but maybe everything in 1.5 will be ok: CreatePalette[ DynamicModule[{string = ""}, Pane[ Button[ InputField[Dynamic@string, String], string = InputString["", string], Appearance -> None, Method -> "Queued" ]]] ];


6

OK, I guess I found something myself while trying to circumvent RunScheduledTask. DynamicModule[{prog = False}, Column[{ Button[ "Do heavy work", prog = True; Pause[10]; prog = False, Method -> "Queued" ], Dynamic@If[prog, ProgressIndicator[Appearance -> "Percolate"], Invisible[ProgressIndicator[Appearance ...


5

I'm not sure if this is exactly what you need but this is what I've recently done to inform the user about ongoing calculation. Usage withProgressIndicator[proc, delay] Performs a proc, and when it lasts longer than delay (default 0), a progress indicator in dialog is created. It will be closed after finishing the proc. It should be run on Main Link, ...


4

Here is a bare bones tool to remove a palette and place it in a new directory. You can modify to delete the file entirely if you wish. You can modify the sources. There is an internal FE command to update the palette menu but I do not have that. You'll have to restart Mathematica. DynamicModule[{new, source1 = FileNameJoin[{$BaseDirectory, ...


1

Perhaps you are installing the wrong notebook as your palette. Installing a palette involves two notebooks and the palette installation dialog. First, the source notebook which contains the code that generates the palette notebook. Note that I have given the palette window a name. This is important when come to install it. -nb Second, the palette ...



Top 50 recent answers are included